commit 043357ec9bbb6851a28f131a2f5f32c480172a92
parent e07cc402e544bf323140114d856cf9811d805298
Author: Felicitus <felicitus@felicitus.org>
Date: Mon, 21 Sep 2015 17:03:08 +0200
Fixed UserComboBox to display the username again
Diffstat:
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/UserComboBox.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/UserComboBox.js
@@ -1,8 +1,11 @@
-Ext.define("PartKeepr.UserComboBox",{
- extend:"PartKeepr.ReloadableComboBox",
+Ext.define("PartKeepr.UserComboBox", {
+ extend: "PartKeepr.ReloadableComboBox",
alias: 'widget.UserComboBox',
- initComponent: function () {
- this.store = PartKeepr.getApplication().getUserStore();
- this.callParent();
+ displayField: "username",
+
+ initComponent: function ()
+ {
+ this.store = PartKeepr.getApplication().getUserStore();
+ this.callParent();
}
});