Bug #19951 » rtehtmlarea_bugfix_10323_typo3_4-2.patch
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,
|
- « Previous
- 1
- 2
- Next »