Skip to main content

Bug Tracker

Side navigation

#9431 closed bug (invalid)

Opened May 26, 2011 08:31AM UTC

Closed May 26, 2011 03:21PM UTC

ui.button widget form reset issue

Reported by: xStream Owned by:
Priority: low Milestone:
Component: misc Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

In jQueryUI 1.8.13 I got next problem:

I have some forms, and have some disabled buttons out of them (made by ui.button widget).

When I press reset button on any form ANY 'ui.button'-ed element on the page loose their 'disable' state.

I found that problem is next line:

$( ":ui-button", ).each(function() {

in formResetHandler function in the widget. is always undefined, so selector get all elements from whole page.

I replaced it with just and all works correct now (checked in Firefox 4+, Opera 10+, IE 8-9, Safari 5, Chrome 9)

Attachments (0)
Change History (1)

Changed May 26, 2011 03:21PM UTC by timmywil comment:1

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

Please submit jQuery UI bugs to the jQuery UI bug tracker: