Bug 781956 - Don't close the wizard when using advance(pageId) on the last page. r=enn

This commit is contained in:
Will Nayes 2012-08-13 21:54:43 -04:00
Родитель 79073c71c4
Коммит 511e0df076
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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 {