workaround for .8 for 630seven8, r=blake, cmanske, sr=alecf, a=asa. bug remains open

as this is just a temporary workaround to prevent mac optimized crash.
This commit is contained in:
ben%netscape.com 2001-02-09 01:09:00 +00:00
parent 01bdbccb5d
commit fd197c0951

View File

@ -733,6 +733,12 @@ var BookmarksUtils = {
}
catch (e) {
}
// XXX - 0.8 hack - prevent dialog from appearing on Mac, as there are
// crashes in optimized builds.
if (navigator.platform.toLowerCase().indexOf("mac") != -1) {
showDialog = false;
}
if (showDialog)
openDialog("chrome://communicator/content/bookmarks/addBookmark.xul", "",