Bug #24093 » rtehtmlarea_bugfix_16433_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
}, 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);
|
||
}
|
||
... | ... | |
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) {
|