зеркало из https://github.com/mozilla/pjs.git
fix for 41587, font pref panel not remembering settings. r=hyatt
This commit is contained in:
Родитель
c01c46739f
Коммит
8187f7d5b9
|
@ -188,10 +188,8 @@ function saveFontPrefs()
|
|||
{
|
||||
}
|
||||
if( currValue != dataObject.languageData[language].types[type] )
|
||||
{
|
||||
pref.SetUnicharPref( fontPrefString, dataObject.languageData[language].types[type] );
|
||||
}
|
||||
}
|
||||
var variableSizePref = "font.size.variable." + language;
|
||||
var fixedSizePref = "font.size.fixed." + language;
|
||||
var currVariableSize = 12, currFixedSize = 12;
|
||||
|
@ -302,6 +300,7 @@ function selectLanguage()
|
|||
if (selectedItem)
|
||||
{
|
||||
selectElement.listElement.data = selectVal;
|
||||
selectElement.listElement.selectedItem = selectedItem;
|
||||
var variableSizePref = "font.size.variable." + languageList.data;
|
||||
var fixedSizePref = "font.size.fixed." + languageList.data;
|
||||
var sizeVarVal = parent.hPrefWindow.pref.GetIntPref( variableSizePref );
|
||||
|
|
Загрузка…
Ссылка в новой задаче