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

(-)a/management/univention-management-console-module-udm/umc/js/udm/DetailPage.js (-3 / +2 lines)
 Lines 241-247   define([ Link Here 
241
			}
241
			}
242
242
243
			// when the commands have been finished, create the detail page
243
			// when the commands have been finished, create the detail page
244
			(new all(commands)).then(lang.hitch(this, function(results) {
244
			this.standbyDuring(new all(commands)).then(lang.hitch(this, function(results) {
245
				var template = lang.getObject('template.result', false, results) || null;
245
				var template = lang.getObject('template.result', false, results) || null;
246
				var layout = lang.clone(results.layout);
246
				var layout = lang.clone(results.layout);
247
				var policies = lang.clone(results.policies);
247
				var policies = lang.clone(results.policies);
 Lines 258-264   define([ Link Here 
258
					}));
258
					}));
259
				}), 50);
259
				}), 50);
260
			}), lang.hitch(this, function() {
260
			}), lang.hitch(this, function() {
261
				this.standby(false);
262
				this._pageRenderedDeferred.reject();
261
				this._pageRenderedDeferred.reject();
263
			}));
262
			}));
264
		},
263
		},
 Lines 1120-1125   define([ Link Here 
1120
			loadedDeferred.then(lang.hitch(this, 'addActiveDirectoryWarning'));
1119
			loadedDeferred.then(lang.hitch(this, 'addActiveDirectoryWarning'));
1121
			loadedDeferred.then(lang.hitch(this, 'set', 'helpLink', metaInfo.help_link));
1120
			loadedDeferred.then(lang.hitch(this, 'set', 'helpLink', metaInfo.help_link));
1122
			this._displayProgressOnSubmitButton(loadedDeferred);
1121
			this._displayProgressOnSubmitButton(loadedDeferred);
1122
			this.standbyDuring(loadedDeferred);
1123
			all([loadedDeferred, formBuiltDeferred]).then(lang.hitch(this, '_notifyAboutAutomaticChanges'));
1123
			all([loadedDeferred, formBuiltDeferred]).then(lang.hitch(this, '_notifyAboutAutomaticChanges'));
1124
1124
1125
			if (template && template.length > 0) {
1125
			if (template && template.length > 0) {
 Lines 1149-1155   define([ Link Here 
1149
				this._renderMultiEditCheckBoxes(widgets);
1149
				this._renderMultiEditCheckBoxes(widgets);
1150
				this._registerOptionWatchHandler();
1150
				this._registerOptionWatchHandler();
1151
				formBuiltDeferred.resolve();
1151
				formBuiltDeferred.resolve();
1152
				this.standby(false);
1153
1152
1154
				// initiate the template mechanism (only for new objects)
1153
				// initiate the template mechanism (only for new objects)
1155
				// searches for given default values in the properties... these will be replaced
1154
				// searches for given default values in the properties... these will be replaced

Return to bug 45574