зеркало из https://github.com/mozilla/pjs.git
Bug 238880
Couldn't eliminate group tabs as home page because of the wrong pref method being called to clear the previous prefs. r+sr=ben
This commit is contained in:
Родитель
e0ec1f192d
Коммит
8ddfc7301d
|
@ -291,7 +291,7 @@ function doOnOk()
|
||||||
// remove the old user prefs values that we didn't overwrite
|
// remove the old user prefs values that we didn't overwrite
|
||||||
var oldCount = prefWindow.getPref("int", countPref);
|
var oldCount = prefWindow.getPref("int", countPref);
|
||||||
for (; i < oldCount; ++i)
|
for (; i < oldCount; ++i)
|
||||||
prefWindow.pref.ClearUserPref("browser.startup.homepage."+i);
|
prefWindow.pref.clearUserPref("browser.startup.homepage."+i);
|
||||||
|
|
||||||
prefWindow.setPref("int", countPref, URIs.length);
|
prefWindow.setPref("int", countPref, URIs.length);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче