mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Remove special file drop handling on CKEditor for IE, it's no longer necessary. Fix issue of drop none image file on compose HTML area uploads the file twice.
This commit is contained in:
parent
3cdf799a6b
commit
9f2abdd5df
@ -209,10 +209,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2
|
|||||||
};
|
};
|
||||||
|
|
||||||
editor.on( 'contentDom', function() {
|
editor.on( 'contentDom', function() {
|
||||||
// For Firefox
|
|
||||||
editor.document.on('drop', chkImg);
|
editor.document.on('drop', chkImg);
|
||||||
// For IE
|
|
||||||
editor.document.getBody().on('drop', chkImg);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user