Changeset 1226
- Timestamp:
- 11/10/09 07:07:31 (3 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r1223 r1226 3191 3191 this._doc.designMode = 'on'; 3192 3192 } 3193 3194 // Opera loses some of it's event listeners when the designMode is set to on. 3195 // the true just shortcuts the method to only set some listeners. 3196 if(Xinha.is_opera) this.setEditorEvents(true); 3197 3193 3198 } catch (ex) {} 3194 3199 } … … 3495 3500 * @private 3496 3501 */ 3497 Xinha.prototype.setEditorEvents = function( )3502 Xinha.prototype.setEditorEvents = function(resetting_events_for_opera) 3498 3503 { 3499 3504 var editor=this; … … 3503 3508 function() 3504 3509 { 3510 if(!resetting_events_for_opera) { 3505 3511 // if we have multiple editors some bug in Mozilla makes some lose editing ability 3506 3512 Xinha._addEvents( … … 3531 3537 ); 3532 3538 } 3539 } 3533 3540 3534 3541 // intercept some events; for updating the toolbar & keyboard handlers … … 3541 3548 } 3542 3549 ); 3550 if(resetting_events_for_opera) return; 3543 3551 3544 3552 // FIXME - this needs to be cleaned up and use editor.firePluginEvent … … 4470 4478 } 4471 4479 4472 this._statusBarTree.innerHTML = Xinha._lc("Path") + ": "; // clear 4480 this._statusBarTree.innerHTML = ' '; 4481 this._statusBarTree.appendChild(document.createTextNode(Xinha._lc("Path") + ": ")); 4473 4482 for ( var i = ancestors.length; --i >= 0; ) 4474 4483 {
