fixing view partial source by commenting a call to defunct edit page menuitem.

This commit is contained in:
chanial%noos.fr 2003-03-05 23:22:50 +00:00
parent 50a0433f9e
commit 565069647f

View File

@ -71,7 +71,8 @@ function onLoadViewPartialSource()
// disable menu items that don't work since the selection is munged and
// the editor doesn't work for MathML
document.getElementById('cmd_savePage').setAttribute('disabled', 'true');
document.getElementById('cmd_editPage').setAttribute('disabled', 'true');
// we don't support yet external editor
//document.getElementById('cmd_editPage').setAttribute('disabled', 'true');
if (window.arguments[3] == 'selection')
viewPartialSourceForSelection(window.arguments[2]);