Project

General

Profile

Bug #24093 » rtehtmlarea_bugfix_16433_trunk.patch

Administrator Admin, 2010-11-17 07:27

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