Bug Tracker

Modify

Ticket #2301 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

calling dialog('close') on an element that's not a dialog throws error

Reported by: rworth Owned by: scott.gonzalez
Priority: undecided Milestone: 1.2.3
Component: ui Version: 1.2.2
Keywords: dialog method ui plugin error Cc:
Blocking: Blocked by:

Description

On  http://ui.jquery.com/1.5a/demos/dialog.html click the close button, and you get the following error:

elem has no properties [Break on this error] var id = elem[ expando ]; jquery.js (line 645)

All the other UI plugins should be checked for this as well.

Change History

comment:1 Changed 6 years ago by rworth

  • Status changed from new to assigned

comment:2 Changed 6 years ago by paul

  • Owner changed from rworth to scott.gonzalez
  • Status changed from assigned to new

comment:3 Changed 6 years ago by scott.gonzal

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

Fixed in [4908].

This problem was unique to dialog - other UI plugins do not need to be checked.

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.