Changeset 1018 for branches/new-dialogs
- Timestamp:
- 08/14/08 15:39:26 (4 years ago)
- Location:
- branches/new-dialogs
- Files:
-
- 2 modified
-
XinhaCore.js (modified) (1 diff)
-
modules/Dialogs/XinhaDialog.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/new-dialogs/XinhaCore.js
r1011 r1018 4718 4718 } 4719 4719 } 4720 4721 /* If this.currentModal is not null, then there's a modal dialog 4722 /* on screen, and we kill the event. This eliminates the possibility 4723 /* of a user 'tabbing' out of a modal dialog and re-activating the editor. 4724 /* This fixes the bug reported in ticket #1259 4725 /* http://xinha.webfactional.com/ticket/1259 */ 4726 if (this.currentModal) 4727 { 4728 return false; 4729 } 4730 4720 4731 // update the toolbar state after some time 4721 4732 if ( editor._timerToolbar ) -
branches/new-dialogs/modules/Dialogs/XinhaDialog.js
r1017 r1018 297 297 } 298 298 299 if ( modal ) this.editor.deactivateEditor(); 299 if ( modal ) 300 { 301 this.editor.deactivateEditor(); 302 this.editor.currentModal = dialog; 303 } 300 304 301 305 // unfortunately we have to hide the editor (iframe/caret bug) … … 435 439 { 436 440 this.editor.activateEditor(); 441 this.editor.currentModal = null; 437 442 } 438 443 }
