Opened 4 years ago

Last modified 4 years ago

#15293 new bug

isOpen() behavior is wrong when called on an unitialized dialog — at Version 1

Reported by: Claude Brisson Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Claude Brisson)

If I do:

$('#unexisting_dialog').dialog('isOpen')

it silently returns an r.fn.init Object, which evaluates to true, without any error in the console.

It seems neither handy nor consistent with other methods behavior.

Change History (1)

comment:1 Changed 4 years ago by Claude Brisson

Description: modified (diff)
Note: See TracTickets for help on using tickets.