Univention Bugzilla – Attachment 4466 Details for
Bug 26734
Rückmeldung Root Passwort
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
validate() immer ausführen
selectChildIfValid.patch (text/plain), 1.31 KB, created by
Dirk Wiesenthal
on 2012-06-21 19:09 CEST
(
hide
)
Description:
validate() immer ausführen
Filename:
MIME Type:
Creator:
Dirk Wiesenthal
Created:
2012-06-21 19:09 CEST
Size:
1.31 KB
patch
obsolete
>Index: umc/js/setup.js >=================================================================== >--- umc/js/setup.js (Revision 33668) >+++ umc/js/setup.js (Arbeitskopie) >@@ -152,14 +152,7 @@ > while ((nextpage < allPages.length) && (! this._pages[nextpage].visible)) { > nextpage += 1; > } >- var current_page = this._pages[nextpage - 1]; >- dojo.when(current_page.validate === undefined || current_page.validate(), >- dojo.hitch(this, function(value) { >- if (value) { >- this.selectChild(this._pages[nextpage]); >- } >- }) >- ); >+ this.selectChildIfValid(nextpage); > }) > }); > } >@@ -203,7 +196,7 @@ > while ((nextpage < allPages.length) && (! this._pages[nextpage].visible)) { > nextpage += 1; > } >- this.selectChild(this._pages[nextpage]); >+ this.selectChildIfValid(nextpage); > } > else { > this.save(); >@@ -724,6 +717,17 @@ > }), dojo.hitch(this, function() { > this.standby(false); > })); >+ }, >+ >+ selectChildIfValid: function(nextpage) { >+ var current_page = this._pages[nextpage - 1]; >+ dojo.when(current_page.validate === undefined || current_page.validate(), >+ dojo.hitch(this, function(value) { >+ if (value) { >+ this.selectChild(this._pages[nextpage]); >+ } >+ }) >+ ); > } > > });
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 26734
: 4466