Project

General

Profile

Bug #19951 » rtehtmlarea_bugfix_10323_trunk.patch

Administrator Admin, 2009-02-01 21:13

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
*
* (c) 2002-2004, interactivetools.com, inc.
* (c) 2003-2004 dynarch.com
* (c) 2004-2008 Stanislas Rolland <typo3(arobas)sjbr.ca>
* (c) 2004-2009 Stanislas Rolland <typo3(arobas)sjbr.ca>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
......
if (this.editorConfiguration.registerButton(buttonConfiguration)) {
var hotKey = buttonConfiguration.hotKey ? buttonConfiguration.hotKey :
((this.editorConfiguration.buttons[this.editorConfiguration.convertButtonId[buttonConfiguration.id]] && this.editorConfiguration.buttons[this.editorConfiguration.convertButtonId[buttonConfiguration.id]].hotKey) ? this.editorConfiguration.buttons[this.editorConfiguration.convertButtonId[buttonConfiguration.id]].hotKey : null);
if (hotKey) {
if (!hotKey && buttonConfiguration.hotKey == "0") {
hotKey = "0";
}
if (!hotKey && this.editorConfiguration.buttons[this.editorConfiguration.convertButtonId[buttonConfiguration.id]] && this.editorConfiguration.buttons[this.editorConfiguration.convertButtonId[buttonConfiguration.id]].hotKey == "0") {
hotKey = "0";
}
if (hotKey || hotKey == "0") {
var hotKeyConfiguration = {
id : hotKey,
cmd : buttonConfiguration.id,
(1-1/2)