diff options
author | Abyss777 <abyss@fox5.ru> | 2017-12-19 10:59:05 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-12-19 10:59:05 +0500 |
commit | 18cd6ba4d5f3329db6bb9e4debfddfdfc49e76c2 (patch) | |
tree | b94913e205c5243871aa577950c676a3994308ac /web/app/view/dialog/Geofence.js | |
parent | 23652dc720e1ca35099fab26208344f750b05e15 (diff) | |
download | trackermap-web-18cd6ba4d5f3329db6bb9e4debfddfdfc49e76c2.tar.gz trackermap-web-18cd6ba4d5f3329db6bb9e4debfddfdfc49e76c2.tar.bz2 trackermap-web-18cd6ba4d5f3329db6bb9e4debfddfdfc49e76c2.zip |
Implement custom combobox with clear button
Diffstat (limited to 'web/app/view/dialog/Geofence.js')
-rw-r--r-- | web/app/view/dialog/Geofence.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/dialog/Geofence.js b/web/app/view/dialog/Geofence.js index 9d7a59a1..7a425ba8 100644 --- a/web/app/view/dialog/Geofence.js +++ b/web/app/view/dialog/Geofence.js @@ -19,6 +19,7 @@ Ext.define('Traccar.view.dialog.Geofence', { extend: 'Traccar.view.dialog.BaseEdit', requires: [ + 'Traccar.view.CustomComboBox', 'Traccar.view.dialog.GeofenceController' ], @@ -45,14 +46,13 @@ Ext.define('Traccar.view.dialog.Geofence', { name: 'description', fieldLabel: Strings.sharedDescription }, { - xtype: 'combobox', + xtype: 'customComboBox', reference: 'calendarCombo', name: 'calendarId', store: 'Calendars', queryMode: 'local', displayField: 'name', valueField: 'id', - editable: false, fieldLabel: Strings.sharedCalendar }, { xtype: 'hiddenfield', |