Fix bug # 75772: On Mac OS X, add support for window toolbar button which hides/shows toolbar buttons. r=ben sr=hyatt

This commit is contained in:
rjc%netscape.com 2006-07-29 05:38:10 +00:00
Родитель 2d3ade6958
Коммит e1c4198a52
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -70,7 +70,8 @@ function toHistory()
}
gDisableHistory = true;
window.open( "chrome://communicator/content/history/history.xul", "_blank", "chrome,menubar,resizable,scrollbars" );
window.open( "chrome://communicator/content/history/history.xul", "_blank",
"chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar" );
setTimeout(enableHistory, 2000);
}
@ -108,7 +109,7 @@ function toOpenWindowByType( inType, uri )
if ( topWindow )
topWindow.focus();
else
window.open(uri, "_blank", "chrome,menubar,toolbar,resizable,scrollbars");
window.open(uri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar");
}