Bug #23618 ยป rtehtmlarea_bugfix_15818_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
},
|
||
htmlareabutton: {
|
||
cls: 'button',
|
||
overCls: 'buttonHover'
|
||
overCls: 'buttonHover',
|
||
// Erratic behaviour of click event in WebKit and IE browsers
|
||
clickEvent: (Ext.isWebKit || Ext.isIE) ? 'mousedown' : 'click'
|
||
},
|
||
htmlareacombo: {
|
||
cls: 'select',
|
||
... | ... | |
*/
|
||
initEventListeners: function () {
|
||
this.addListener({
|
||
click: {
|
||
fn: this.onButtonClick
|
||
},
|
||
hotkey: {
|
||
fn: this.onHotKey
|
||
}
|
||
});
|
||
this.setHandler(this.onButtonClick, this);
|
||
// Monitor toolbar updates in order to refresh the state of the button
|
||
this.mon(this.getToolbar(), 'update', this.onUpdateToolbar, this);
|
||
},
|