Changeset 1089
- Timestamp:
- 10/13/08 23:08:47 (5 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r1088 r1089 2847 2847 Xinha.prototype.activateEditor = function() 2848 2848 { 2849 if (this.currentModal) return; 2850 2849 2851 // We only want ONE editor at a time to be active 2850 2852 if ( Xinha._currentlyActiveEditor ) … … 4070 4072 Xinha.prototype.updateToolbar = function(noStatus) 4071 4073 { 4072 if (this.suspendUpdateToolbar ) return;4074 if (this.suspendUpdateToolbar || Xinha._currentlyActiveEditor != this) return; 4073 4075 4074 4076 var doc = this._doc; … … 4846 4848 } 4847 4849 4848 /* If this.currentModal is not null, then there's a modal dialog4849 /* on screen, and we kill the event. This eliminates the possibility4850 /* of a user 'tabbing' out of a modal dialog and re-activating the editor.4851 /* This fixes the bug reported in ticket #12594852 /* http://xinha.webfactional.com/ticket/1259 */4853 if (this.currentModal)4854 {4855 return false;4856 }4857 4858 4850 // update the toolbar state after some time 4859 4851 if ( editor._timerToolbar )
