Bug Tracker

Modify

Ticket #1926 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

ui.dialog.js doesn't render the dialog correctly

Reported by: tonyqus Owned by: rworth
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:

Description

The dialog in  http://docs.jquery.com/UI/Dialog doesn't render correctly as shown in "Demo and samples" page( http://dev.jquery.com/view/trunk/plugins/ui/tests/dialog.html). Moreover, the version of ui.dialog.js in "Demo and samples" page is different from the release version of the ui.jquery 1.0.

Moreover, while trying to use buttons options, $(this).dialogClose() will raise a javascript error. The problem occurs because the parameter el is a button instead of the div element of the dialog, which is not expected. However, the code in the "demo and samples" page always works well and the el is always the div element (never become the button such as 'ok' or 'cancel').

Change History

comment:1 Changed 6 years ago by paul

  • Owner set to rworth

comment:2 Changed 6 years ago by rworth

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in rev4070.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.