Changeset 606


Ignore:
Timestamp:
08/01/2007 04:24:38 AM (7 years ago)
Author:
martinkou
Message:

Fix for #338 : Fixed the issue where moving editor area contents by dragging is disabled in Internet Explorer.

File:
1 edited

Legend:

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

    r602 r606  
    109109} 
    110110 
    111 function Doc_CancelDefault() 
    112 { 
     111function Doc_CancelDragDefault() 
     112{ 
     113        if ( FCK._MouseDownFlag )  
     114                return ; 
    113115        FCK.EditorWindow.event.returnValue = false ; 
    114116} 
     
    124126 
    125127        // Intercept drop operations 
    126         this.EditorDocument.body.attachEvent( 'ondragenter', Doc_CancelDefault ) ; 
    127         this.EditorDocument.body.attachEvent( 'ondragover', Doc_CancelDefault ) ; 
     128        this.EditorDocument.body.attachEvent( 'ondragenter', Doc_CancelDragDefault ) ; 
     129        this.EditorDocument.body.attachEvent( 'ondragover', Doc_CancelDragDefault ) ; 
    128130        this.EditorDocument.body.attachEvent( 'ondrop', Doc_OnDrop ) ; 
    129131 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy