Project

General

Profile

Bug #23337 » rtehtmlarea_bugfix_15329_trunk.patch

Administrator Admin, 2010-08-28 18:26

View differences:

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);
},
(2-2/2)