View | Details | Raw Unified | Return to bug 45061
Collapse All | Expand All

(-)a/management/univention-web/js/widgets/Wizard.js (-1 / +8 lines)
Lines 38-43 define([ Link Here
38
	"dojo/aspect",
38
	"dojo/aspect",
39
	"dojo/when",
39
	"dojo/when",
40
	"dojo/json",
40
	"dojo/json",
41
	"dojo/promise/all",
41
	"dojox/html/styles",
42
	"dojox/html/styles",
42
	"dijit/layout/StackContainer",
43
	"dijit/layout/StackContainer",
43
	"dijit/focus",
44
	"dijit/focus",
Lines 47-53 define([ Link Here
47
	"./StandbyMixin",
48
	"./StandbyMixin",
48
	"./_RegisterOnShowMixin",
49
	"./_RegisterOnShowMixin",
49
	"../i18n!"
50
	"../i18n!"
50
], function(declare, lang, array, event, domClass, geometry, aspect, when, json, styles, StackContainer, dijitFocus, tools, Form, Page, StandbyMixin, _RegisterOnShowMixin, _) {
51
], function(declare, lang, array, event, domClass, geometry, aspect, when, json, all, styles, StackContainer, dijitFocus, tools, Form, Page, StandbyMixin, _RegisterOnShowMixin, _) {
51
	return declare("umc.widgets.Wizard", [ StackContainer, StandbyMixin, _RegisterOnShowMixin ], {
52
	return declare("umc.widgets.Wizard", [ StackContainer, StandbyMixin, _RegisterOnShowMixin ], {
52
		// summary:
53
		// summary:
53
		//		This wizard class allows to specify a list of pages which will be
54
		//		This wizard class allows to specify a list of pages which will be
Lines 149-154 define([ Link Here
149
			}));
150
			}));
150
		},
151
		},
151
152
153
		ready: function() {
154
			return all(array.map(this._pages, function(page) {
155
				return page._form && page._form.ready();
156
			}));
157
		},
158
152
		getHeaderButtons: function(pageName) {
159
		getHeaderButtons: function(pageName) {
153
			return this.headerButtons || [];
160
			return this.headerButtons || [];
154
		},
161
		},

Return to bug 45061