Search and Top Navigation
#6013 closed enhancement (duplicate)
Opened September 02, 2010 06:08AM UTC
Closed September 02, 2010 12:21PM UTC
Last modified October 11, 2012 09:15PM UTC
show dialog in the open event
| Reported by: | dreamershl | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ui.dialog | Version: | 1.8.4 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
If you try to open the same dialog box in the open event, the code will re-invoke itself because the _isOpen is false. Is it better that switch the sequence of these 2 lines
from
self._trigger('open');
self._isOpen = true;
to
self._isOpen = true;
self._trigger('open');
Duplicate of #6012.