Changeset 590
- Timestamp:
- 2007-07-30 09:58:56 (18 months ago)
- Location:
- FCKeditor/trunk/editor/_source/internals
- Files:
-
- 2 modified
-
fck_gecko.js (modified) (2 diffs)
-
fck_ie.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fck_gecko.js
r589 r590 37 37 { 38 38 FCK.Events.FireEvent( "OnSelectionChange" ) ; 39 }40 41 //allow the table handler to handle mouse messages for dynamic table sizing42 this._ExecMouseDown = function(e)43 {44 FCK.Events.FireEvent( "OnMouseDown",e ) ;45 }46 47 this._ExecMouseMove = function(e)48 {49 FCK.Events.FireEvent( "OnMouseMove",e ) ;50 }51 52 this._ExecMouseUp = function(e)53 {54 FCK.Events.FireEvent( "OnMouseUp",e ) ;55 39 } 56 40 … … 99 83 this.EditorDocument.addEventListener( 'keydown', this._KeyDownListener, false ) ; 100 84 101 102 //Hooks for table sizing103 this.EditorDocument.addEventListener( 'mousedown', this._ExecMouseDown, true ) ;104 this.EditorDocument.addEventListener( 'mouseup', this._ExecMouseUp, true ) ;105 this.EditorDocument.addEventListener( 'mousemove', this._ExecMouseMove, true ) ;106 107 85 // Hooks for data object drops 108 86 if ( FCKBrowserInfo.IsGecko ) -
FCKeditor/trunk/editor/_source/internals/fck_ie.js
r589 r590 70 70 FCK.EditorWindow.event.returnValue = false ; 71 71 } 72 FCK.Events.FireEvent( "OnMouseUp",FCK.EditorWindow.event) ;73 }74 75 function Doc_OnMouseDown()76 {77 FCK.Events.FireEvent( "OnMouseDown",FCK.EditorWindow.event ) ;78 }79 80 function Doc_OnMouseMove()81 {82 FCK.Events.FireEvent( "OnMouseMove",FCK.EditorWindow.event) ;83 72 } 84 73 … … 144 133 this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ; 145 134 146 //additions for table sizing147 this.EditorDocument.attachEvent( 'onmousedown', Doc_OnMouseDown ) ;148 this.EditorDocument.attachEvent( 'onmousemove', Doc_OnMouseMove ) ;149 150 135 // Catch cursor selection changes. 151 136 this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ;