Index: umc/js/udm/ComboBox.js =================================================================== --- umc/js/udm/ComboBox.js (Revision 36481) +++ umc/js/udm/ComboBox.js (Arbeitskopie) @@ -164,6 +164,10 @@ } })); this._tooManyDeferred.resolve(true); + + // we wait until the info command has been sent ... the user will + // during a request see a waiting animation + this._readyDeferred.resolve(); } else { this._behaveNormally(); } Index: umc/js/udm.js =================================================================== --- umc/js/udm.js (Revision 36481) +++ umc/js/udm.js (Arbeitskopie) @@ -278,7 +278,6 @@ headerText: this.description, helpText: '' }); - this.addChild(this._searchPage); var titlePane = new ExpandingTitlePane({ title: _('Search for %s', this.objectNamePlural), design: 'sidebar' @@ -696,16 +695,13 @@ titlePane.addChild(treePane); } - this._searchPage.startup(); - // register to onShow as well as onFilterDone events in order on focus to the // input widget when the tab is changed this._searchPage.on('show', lang.hitch(this, '_selectInputText')); this._grid.on('filterDone', lang.hitch(this, '_selectInputText')); // register event to update hiding/showing of form fields - var objTypeWidget = this._searchForm._widgets.objectType; - objTypeWidget.on('valuesLoaded', lang.hitch(this, '_updateSearch')); + this._searchForm.ready().then(lang.hitch(this, '_updateSearch')); // reload the superordinates in case an object has been added, it might be a new superordinate if (superordinates && superordinates.length) { @@ -790,6 +786,9 @@ // create report button this._grid.on('filterDone', lang.hitch(this, '_checkReportButton')); } + + this._searchPage.startup(); + this.addChild(this._searchPage); }, _selectInputText: function() {