Project

General

Profile

Bug #19951 » rtehtmlarea_bugfix_10323_typo3_4-2.patch

Administrator Admin, 2009-02-01 21:13

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
}
if (this.editorConfiguration.registerButton(buttonConfiguration)) {
var hotKey = buttonConfiguration.hotKey ? buttonConfiguration.hotKey : ((this.editorConfiguration.buttons[buttonConfiguration.id.toLowerCase()] && this.editorConfiguration.buttons[buttonConfiguration.id.toLowerCase()].hotKey) ? this.editorConfiguration.buttons[buttonConfiguration.id.toLowerCase()].hotKey : null);
if (hotKey) {
if (!hotKey && buttonConfiguration.hotKey == "0") {
hotKey = "0";
}
if (!hotKey && this.editorConfiguration.buttons[buttonConfiguration.id.toLowerCase()] && this.editorConfiguration.buttons[buttonConfiguration.id.toLowerCase()].hotKey == "0") {
hotKey = "0";
}
if (hotKey || hotKey == "0") {
var hotKeyConfiguration = {
id : hotKey,
cmd : buttonConfiguration.id,
(2-2/2)