Univention Bugzilla – Attachment 4728 Details for
Bug 26214
MultiInput-Widgets informieren Form nicht über erfolgreiche Initialisierung
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch für umc-module-udm
udm.patch (text/plain), 1.87 KB, created by
Alexander Kläser
on 2012-10-19 22:02:48 CEST
(
hide
)
Description:
Patch für umc-module-udm
Filename:
MIME Type:
Creator:
Alexander Kläser
Created:
2012-10-19 22:02:48 CEST
Size:
1.87 KB
patch
obsolete
>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() {
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 26214
:
4209
|
4727
| 4728