Skip to main content

Search and Top Navigation

#7226 closed bug (fixed)

Opened April 07, 2011 03:52PM UTC

Closed April 07, 2011 06:06PM UTC

Last modified April 08, 2011 09:16AM UTC

Dialog buttons badly handled with JQuery 1.3.2

Reported by: aperitero Owned by:
Priority: blocker Milestone: 1.8.12
Component: ui.dialog Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:
Description

As I understand it, the "1.3.2+" requirement for UI 1.8.11 means that it should work with JQuery 1.3.2.

However, the dialog buttons are not correctly handled with this version of JQuery: the click function is executed as soon as the dialog box is created, the label is not displayed.

Here is a test case to reproduce the bug:

http://jsfiddle.net/nDwqF/3/

Here is a possible correction:

https://github.com/aperitero/jquery-ui/commit/552c75b92a51dda5e0d212f5fd3a90e6a00e3960

Attachments (0)
Change History (3)

Changed April 07, 2011 05:48PM UTC by scottgonzalez comment:1

milestone: 1.91.8.12
priority: minorblocker
status: newopen

Changed April 07, 2011 06:06PM UTC by Scott González comment:2

resolution: → fixed
status: openclosed

Dialog: Don't use .attr( props, true ) for creating buttons since that API doesn't exist in jQueery 1.3.2. Fixes #7226 - Dialog buttons badly handled with JQuery 1.3.2.

Changeset: e388153049503255810d4a871e06e9930de74c70

Changed April 08, 2011 09:16AM UTC by aperitero comment:3

Prompt correction! Thanks a lot!