Bug #23337 » rtehtmlarea_bugfix_15329_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
},
|
||
htmlareabutton: {
|
||
cls: 'button',
|
||
overCls: 'buttonHover'
|
||
overCls: 'buttonHover',
|
||
// In WebKit browsers, if clickEvent is click, the event is triggered twice.
|
||
clickEvent: Ext.isWebKit ? '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);
|
||
},
|
- « Previous
- 1
- 2
- Next »