зеркало из https://github.com/mozilla/gecko-dev.git
Bug 781956 - Don't close the wizard when using advance(pageId) on the last page. r=enn
This commit is contained in:
Родитель
79073c71c4
Коммит
511e0df076
|
@ -267,7 +267,7 @@
|
|||
if (this.currentPage && !this._fireEvent(this.currentPage, "pageadvanced"))
|
||||
return;
|
||||
|
||||
if (this.onLastPage) {
|
||||
if (this.onLastPage && !aPageId) {
|
||||
if (this._fireEvent(this, "wizardfinish"))
|
||||
window.setTimeout(function() {window.close();}, 1);
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче