Project

General

Profile

Bug #24093 » rtehtmlarea_bugfix_16433_typo3_4-4.patch

Administrator Admin, 2010-11-17 07:36

View differences:

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) {
(2-2/2)