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
parent 47f43de75d
commit 9e9d267ff7

View File

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