Project

General

Profile

Bug #18460 ยป rtehtmlarea_bugfix_7878.patch

Administrator Admin, 2008-03-17 04:50

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (working copy)
*/
HTMLArea.Config.prototype.registerHotKey = function(hotKeyConfiguration) {
if (typeof(this.hotKeyList[hotKeyConfiguration.id]) != "undefined") {
HTMLArea._appendToLog("ERROR [HTMLArea.Config::registerHotKey]: A hotkey with the same key " + hotKeyConfiguration.id + " already exists.");
return false;
HTMLArea._appendToLog("[HTMLArea.Config::registerHotKey]: A hotkey with the same key " + hotKeyConfiguration.id + " already exists and will be overidden.");
}
this.hotKeyList[hotKeyConfiguration.id] = hotKeyConfiguration;
return true;
    (1-1/1)