Univention Bugzilla – Attachment 9054 Details for
Bug 45061
umc.widgets.Wizard is missing a ready() method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
45061.patch (text/plain), 1.29 KB, created by
Florian Best
on 2017-07-25 15:54:59 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-07-25 15:54:59 CEST
Size:
1.29 KB
patch
obsolete
>diff --git a/management/univention-web/js/widgets/Wizard.js b/management/univention-web/js/widgets/Wizard.js >index 2e331bb..ed446d6 100644 >--- a/management/univention-web/js/widgets/Wizard.js >+++ b/management/univention-web/js/widgets/Wizard.js >@@ -38,6 +38,7 @@ define([ > "dojo/aspect", > "dojo/when", > "dojo/json", >+ "dojo/promise/all", > "dojox/html/styles", > "dijit/layout/StackContainer", > "dijit/focus", >@@ -47,7 +48,7 @@ define([ > "./StandbyMixin", > "./_RegisterOnShowMixin", > "../i18n!" >-], function(declare, lang, array, event, domClass, geometry, aspect, when, json, styles, StackContainer, dijitFocus, tools, Form, Page, StandbyMixin, _RegisterOnShowMixin, _) { >+], function(declare, lang, array, event, domClass, geometry, aspect, when, json, all, styles, StackContainer, dijitFocus, tools, Form, Page, StandbyMixin, _RegisterOnShowMixin, _) { > return declare("umc.widgets.Wizard", [ StackContainer, StandbyMixin, _RegisterOnShowMixin ], { > // summary: > // This wizard class allows to specify a list of pages which will be >@@ -149,6 +150,12 @@ define([ > })); > }, > >+ ready: function() { >+ return all(array.map(this._pages, function(page) { >+ return page._form && page._form.ready(); >+ })); >+ }, >+ > getHeaderButtons: function(pageName) { > return this.headerButtons || []; > },
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45061
: 9054