зеркало из https://github.com/mozilla/pjs.git
Bug 413275 - "JavaScript Error: "sourceProfiles is null when Migration Wizard is canceled" (Return FALSE to avoid advancing to next page when not necessary) [p=mredivo@flock.com (Marcus Redivo) r=gavin a=blocking-firefox3+]
This commit is contained in:
Родитель
dacd1b69ca
Коммит
3475406d14
|
@ -158,7 +158,7 @@ var MigrationWizard = {
|
|||
if(newSource == "fromfile")
|
||||
window.opener.fromFile = true;
|
||||
document.documentElement.cancel();
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!this._migrator || (newSource != this._source)) {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
<wizardpage id="importSource" pageid="importSource" next="selectProfile"
|
||||
label="&importSource.title;"
|
||||
onpageadvanced="MigrationWizard.onImportSourcePageAdvanced();">
|
||||
onpageadvanced="return MigrationWizard.onImportSourcePageAdvanced();">
|
||||
#ifdef XP_WIN
|
||||
<description id="importAll" control="importSourceGroup">&importFrom.label;</description>
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче