Index: typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (révision 9417)
+++ typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
@@ -1610,11 +1610,8 @@
}, true);
// Ext.DomHelper does not honour the custom attribute
element.dom.ancestor = ancestor;
- if (Ext.isIE) {
- element.on('click', this.onClick, this);
- } else {
- element.on('mousedown', this.onMouseDown, this);
- }
+ element.on('click', this.onClick, this);
+ element.on('mousedown', this.onClick, this);
if (!Ext.isOpera) {
element.on('contextmenu', this.onContextMenu, this);
}
@@ -1727,18 +1724,6 @@
return false;
},
/*
- * MouseDown handler
- */
- onMouseDown: function (event, element) {
- this.selectElement(element);
- if (Ext.isIE) {
- return true;
- } else {
- event.stopEvent();
- return false;
- }
- },
- /*
* ContextMenu handler
*/
onContextMenu: function (event, target) {