mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 781956 - Don't close the wizard when using advance(pageId) on the last page. r=enn
This commit is contained in:
parent
47f43de75d
commit
9e9d267ff7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user