Opened 5 years ago
Last modified 5 years ago
#15293 new bug
isOpen() behavior is wrong when called on an unitialized dialog
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 )
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 (2)
comment:1 Changed 5 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 5 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.