mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
fixing view partial source by commenting a call to defunct edit page menuitem.
This commit is contained in:
parent
50a0433f9e
commit
565069647f
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user