Bug #21049 » rtehtmlarea_bugfix_11946_follow_up_typo3_4-1.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/ContextMenu/context-menu.js (copie de travail) | ||
---|---|---|
i18n[opcode + "-tooltip"],
|
||
btnList[opcode][1],
|
||
opcode,
|
||
(opcode == "table-prop" || opcode == "row-prop" || opcode == "cell-prop")
|
||
(opcode == "TO-table-prop" || opcode == "TO-row-prop" || opcode == "TO-cell-prop")
|
||
]);
|
||
}
|
||
}
|
||
... | ... | |
if (!HTMLArea.is_ie) {
|
||
HTMLArea._stopEvent(ev);
|
||
}
|
||
if (!item.__msh.dialog) {
|
||
instance.editor.updateToolbar();
|
||
}
|
||
return false;
|
||
});
|
||
};
|
||
... | ... | |
ContextMenu.activateHandler = function(item,instance) {
|
||
return (function() {
|
||
item.__msh.action();
|
||
if (!item.__msh.dialog) {
|
||
instance.editor.updateToolbar();
|
||
}
|
||
instance.closeMenu();
|
||
});
|
||
};
|