Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2301 closed bug (fixed)

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

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


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 (3)

comment:1 Changed 15 years ago by rworth

Status: newassigned

comment:2 Changed 15 years ago by paul

Owner: changed from rworth to scott.gonzalez
Status: assignednew

comment:3 Changed 15 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [4908].

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

Note: See TracTickets for help on using tickets.