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:
caillon%redhat.com 2006-05-17 02:36:11 +00:00
Родитель e0ec1f192d
Коммит 8ddfc7301d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
} }