Fixing font bug Asa found.

git-svn-id: svn://10.0.0.236/trunk@145804 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com
2003-08-09 08:16:15 +00:00
parent 7c752c5a0a
commit 0711225157
2 changed files with 2 additions and 3 deletions

View File

@@ -337,7 +337,6 @@ function HandlePermissionKeyPress(e) {
function showFontsAndColors()
{
top.hPrefWindow.registerOKCallbackFunc(saveFontPrefs);
openDialog("chrome://browser/content/pref/pref-fonts.xul", "", "centerscreen,chrome,modal=yes,dialog=yes");
}

View File

@@ -256,8 +256,8 @@ function Startup()
function onFontsDialogOK()
{
window.opener.top.hPrefWindow.wsm.savePageData(window.location.href, window);
gPrefWindow.registerOKCallbackFunc(window.opener.saveFontPrefs);
gPrefWindow.wsm.savePageData(window.location.href, window);
return true;
}