Opened 10 years ago
Closed 10 years ago
#8514 closed bug (worksforme)
dialog.open() does not return reference to self when dialog is already opened
Reported by: | ghen | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.23 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
dialog.open() does not return reference to self when dialog is already opened.
Example:
$element.dialog().dialog('open')
Problem:
there is a check inside the open() method (see jquery.ui.dialog.js line 307):
if (this._isOpen) { return; }
Expected:
if (this._isOpen) { return this; }
Note: See
TracTickets for help on using
tickets.
Actually, it works just fine. The widget factory treats undefined the same as
this
.