Bug Tracker

Ticket #2301 (closed bug: fixed)

Opened 7 years ago

Last modified 7 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 7 years ago by rworth

  • Status changed from new to assigned

comment:2 Changed 7 years ago by paul

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

comment:3 Changed 7 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.

Note: See TracTickets for help on using tickets.