Changeset 590

Show
Ignore:
Timestamp:
2007-07-30 09:58:56 (18 months ago)
Author:
martinkou
Message:

Removed excessive code added during dragresizetable plugin development.

Location:
FCKeditor/trunk/editor/_source/internals
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fck_gecko.js

    r589 r590  
    3737        { 
    3838                FCK.Events.FireEvent( "OnSelectionChange" ) ; 
    39         } 
    40  
    41         //allow the table handler to handle mouse messages for dynamic table sizing 
    42         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 ) ; 
    5539        } 
    5640 
     
    9983        this.EditorDocument.addEventListener( 'keydown', this._KeyDownListener, false ) ; 
    10084 
    101          
    102         //Hooks for table sizing 
    103         this.EditorDocument.addEventListener( 'mousedown', this._ExecMouseDown, true ) ; 
    104         this.EditorDocument.addEventListener( 'mouseup', this._ExecMouseUp, true ) ; 
    105         this.EditorDocument.addEventListener( 'mousemove', this._ExecMouseMove, true ) ; 
    106  
    10785        // Hooks for data object drops 
    10886        if ( FCKBrowserInfo.IsGecko ) 
  • FCKeditor/trunk/editor/_source/internals/fck_ie.js

    r589 r590  
    7070                FCK.EditorWindow.event.returnValue      = false ; 
    7171        } 
    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) ; 
    8372} 
    8473 
     
    144133        this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ; 
    145134         
    146         //additions for table sizing 
    147         this.EditorDocument.attachEvent( 'onmousedown', Doc_OnMouseDown ) ; 
    148         this.EditorDocument.attachEvent( 'onmousemove', Doc_OnMouseMove ) ; 
    149  
    150135        // Catch cursor selection changes. 
    151136        this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ;