зеркало из https://github.com/mozilla/gecko-dev.git
Bug 99501: JS error in viewZoomOverlay.js at startup. r=sfraser, sr=hewitt
This commit is contained in:
Родитель
9805f48df1
Коммит
4a2e0875e9
|
@ -1165,8 +1165,8 @@ function hiddenWindowStartup()
|
|||
// Disable menus which are not appropriate
|
||||
var disabledItems = ['cmd_close', 'Browser:SendPage', 'Browser:EditPage', 'Browser:PrintSetup', /*'Browser:PrintPreview',*/
|
||||
'Browser:Print', 'canGoBack', 'canGoForward', 'Browser:Home', 'Browser:AddBookmark', 'cmd_undo',
|
||||
'cmd_redo', 'cmd_cut', 'cmd_copy','cmd_paste', 'cmd_delete', 'cmd_selectAll'];
|
||||
for (id in disabledItems) {
|
||||
'cmd_redo', 'cmd_cut', 'cmd_copy','cmd_paste', 'cmd_delete', 'cmd_selectAll', 'menu_textZoom'];
|
||||
for (var id in disabledItems) {
|
||||
var broadcaster = document.getElementById(disabledItems[id]);
|
||||
if (broadcaster)
|
||||
broadcaster.setAttribute("disabled", "true");
|
||||
|
|
Загрузка…
Ссылка в новой задаче