зеркало из https://github.com/mozilla/pjs.git
more on 253220 - prevent update wizard from advancing prematurely by itself when not in mismatch mode.
This commit is contained in:
Родитель
9048563d82
Коммит
c329e38d9c
|
@ -275,8 +275,10 @@ var gVersionPage = {
|
|||
// doing version compatibility updates first.
|
||||
var pref = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch);
|
||||
if (!pref.getBoolPref(PREF_UPDATE_EXTENSIONS_ENABLED))
|
||||
if (!pref.getBoolPref(PREF_UPDATE_EXTENSIONS_ENABLED)) {
|
||||
document.documentElement.advance();
|
||||
return;
|
||||
}
|
||||
|
||||
var os = Components.classes["@mozilla.org/observer-service;1"]
|
||||
.getService(Components.interfaces.nsIObserverService);
|
||||
|
|
Загрузка…
Ссылка в новой задаче