fix prefwindow not coming up problem

git-svn-id: svn://10.0.0.236/trunk@62926 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ben%netscape.com
2000-03-14 11:46:59 +00:00
parent 8eca658a1f
commit 62abc16df7

View File

@@ -69,10 +69,7 @@ function goEditCardDialog(abURI, card, okCallback)
function goPreferences(id, pane)
{
var modal = "yes";
if (!pref.GetBoolPref("browser.prefWindowModal"))
modal = "no";
var prefWindow = window.openDialog("chrome://pref/content/pref.xul","PrefWindow", "chrome,modal=" + modal + ",resizable=yes", pane);
var prefWindow = window.openDialog("chrome://pref/content/pref.xul","PrefWindow", "chrome,modal=yes,resizable=yes", pane);
}