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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user