Changeset 161
- Timestamp:
- 05/12/05 12:05:21 (8 years ago)
- Files:
-
- 1 modified
-
trunk/htmlarea.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r160 r161 1560 1560 1561 1561 var editor = this; 1562 this._timerToolbar = setTimeout(function() { 1563 editor.updateToolbar(); 1564 editor._timerToolbar = null; 1565 }, 250); 1562 this.enableToolbar(); 1566 1563 } 1567 1564 1568 1565 HTMLArea.prototype.deactivateEditor = function() 1569 1566 { 1567 // If the editor isn't active then the user shouldn't use the toolbar 1568 this.disableToolbar(); 1569 1570 1570 if (HTMLArea.is_gecko && this._doc.designMode != 'off') 1571 1571 { … … 1585 1585 // hurt anything. 1586 1586 } 1587 1587 1588 HTMLArea._currentlyActiveEditor = false; 1588 1589 } … … 1590 1591 HTMLArea.prototype.initIframe = function() 1591 1592 { 1593 this.disableToolbar(); 1592 1594 var doc = null; 1593 1595 var editor = this; … … 2138 2140 HTMLArea.prototype.disableToolbar = function(except) 2139 2141 { 2142 if(this._timerToolbar) clearTimeout(this._timerToolbar); 2140 2143 if(typeof except == 'undefined') 2141 2144 {
