Bug 99501: JS error in viewZoomOverlay.js at startup. r=sfraser, sr=hewitt

This commit is contained in:
jaggernaut%netscape.com 2006-09-14 06:01:33 +00:00
Родитель 9805f48df1
Коммит 4a2e0875e9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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");