### Eclipse Workspace Patch 1.0 #P AnyContent V2.9.X Index: workspaces/cms/resources/HTMLeditor/js/htmlarea.js =================================================================== RCS file: /cvs/produits/Ametys/AnyContent_2.9/workspaces/cms/resources/HTMLeditor/js/htmlarea.js,v retrieving revision 1.16 diff -u -r1.16 htmlarea.js --- workspaces/cms/resources/HTMLeditor/js/htmlarea.js 20 Aug 2009 09:25:37 -0000 1.16 +++ workspaces/cms/resources/HTMLeditor/js/htmlarea.js 6 Nov 2009 16:25:45 -0000 @@ -801,11 +801,6 @@ HTMLArea._addEvents (doc, ["keydown", "keypress", "mousedown", "mouseup", "drag", "contextmenu"], listener); - if (!HTMLArea.is_ie) - { - // disable firefox accelerators on tables - editor.execCommand('enableInlineTableEditing', false, false); - } editor.focusEditor(); @@ -1860,6 +1855,12 @@ HTMLArea.prototype._editorEvent = function(ev) { var editor = this; + if (!HTMLArea.is_ie) + { + // disable firefox accelerators on tables + editor.execCommand('enableInlineTableEditing', false, false); + } + if (ev.type == "contextmenu") { HTMLArea._stopEvent(ev);