diff --git a/management/univention-management-console-module-udm/umc/js/udm/DetailPage.js b/management/univention-management-console-module-udm/umc/js/udm/DetailPage.js index 194c086..01a54a6 100644 --- a/management/univention-management-console-module-udm/umc/js/udm/DetailPage.js +++ b/management/univention-management-console-module-udm/umc/js/udm/DetailPage.js @@ -241,7 +241,7 @@ define([ } // when the commands have been finished, create the detail page - (new all(commands)).then(lang.hitch(this, function(results) { + this.standbyDuring(new all(commands)).then(lang.hitch(this, function(results) { var template = lang.getObject('template.result', false, results) || null; var layout = lang.clone(results.layout); var policies = lang.clone(results.policies); @@ -258,7 +258,6 @@ define([ })); }), 50); }), lang.hitch(this, function() { - this.standby(false); this._pageRenderedDeferred.reject(); })); }, @@ -1120,6 +1119,7 @@ define([ loadedDeferred.then(lang.hitch(this, 'addActiveDirectoryWarning')); loadedDeferred.then(lang.hitch(this, 'set', 'helpLink', metaInfo.help_link)); this._displayProgressOnSubmitButton(loadedDeferred); + this.standbyDuring(loadedDeferred); all([loadedDeferred, formBuiltDeferred]).then(lang.hitch(this, '_notifyAboutAutomaticChanges')); if (template && template.length > 0) { @@ -1149,7 +1149,6 @@ define([ this._renderMultiEditCheckBoxes(widgets); this._registerOptionWatchHandler(); formBuiltDeferred.resolve(); - this.standby(false); // initiate the template mechanism (only for new objects) // searches for given default values in the properties... these will be replaced