Search and Top Navigation
#6129 closed bug (duplicate)
Opened September 30, 2010 05:33PM UTC
Closed September 30, 2010 05:37PM UTC
Last modified October 11, 2012 09:15PM UTC
Dialog buttons are now created as type="submit" rather than "button"
Reported by: | martinf55 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.dialog | Version: | 1.8.5 |
Keywords: | button | Cc: | |
Blocked by: | Blocking: |
Description
The update to ui.dialog in 1.8.5 now creates the dialog buttons as <button></button> (line 364). This causes any form on the page to submit automatically. Prior versions up to 1.8.4 created the buttons as <button type="button"></button>, which had no side-effects. Since the type attribute cannot easily be changed after dialog creation, this is a quite a breaking change.
Duplicate of #6128.