Opened 4 years ago
Last modified 4 years ago
#15293 new bug
isOpen() behavior is wrong when called on an unitialized dialog — at Initial Version
Reported by: | Claude Brisson | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.dialog | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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 othen methods behavior.
Note: See
TracTickets for help on using
tickets.