110001 - onpagehide should not fire events when traversing back in the wizard, r=racham, sr=blake
git-svn-id: svn://10.0.0.236/trunk@113458 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
eba9538f7a
commit
8fa2c0020b
@ -186,8 +186,10 @@
|
||||
if (!this.canRewind)
|
||||
return;
|
||||
|
||||
if (this.currentPage && !this._fireEvent(this.currentPage, "pagehide")
|
||||
&& !this._fireEvent(this.currentPage, "pagerewound"))
|
||||
if (this.currentPage && !this._fireEvent(this.currentPage, "pagehide"))
|
||||
return;
|
||||
|
||||
if (this.currentPage && !this._fireEvent(this.currentPage, "pagerewound"))
|
||||
return;
|
||||
|
||||
if (!this._fireEvent(this, "wizardback"))
|
||||
@ -206,10 +208,12 @@
|
||||
if (!this.canAdvance)
|
||||
return;
|
||||
|
||||
if (this.currentPage && !this._fireEvent(this.currentPage, "pagehide")
|
||||
&& !this._fireEvent(this.currentPage, "pageadvanced"))
|
||||
if (this.currentPage && !this._fireEvent(this.currentPage, "pagehide"))
|
||||
return;
|
||||
|
||||
if (this.currentPage && !this._fireEvent(this.currentPage, "pageadvanced"))
|
||||
return;
|
||||
|
||||
if (this.onLastPage) {
|
||||
if (this._fireEvent(this, "wizardfinish"))
|
||||
window.setTimeout(function() {window.close();}, 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user