aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Group.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/Group.js')
-rw-r--r--web/app/view/dialog/Group.js26
1 files changed, 19 insertions, 7 deletions
diff --git a/web/app/view/dialog/Group.js b/web/app/view/dialog/Group.js
index b517bbfb..16253fbe 100644
--- a/web/app/view/dialog/Group.js
+++ b/web/app/view/dialog/Group.js
@@ -37,14 +37,26 @@ Ext.define('Traccar.view.dialog.Group', {
collapsible: true,
collapsed: true,
items: [{
- xtype: 'combobox',
- name: 'groupId',
+ xtype: 'fieldcontainer',
+ layout: 'hbox',
fieldLabel: Strings.groupParent,
- store: 'Groups',
- queryMode: 'local',
- displayField: 'name',
- valueField: 'id',
- editable: false
+ items: [{
+ xtype: 'combobox',
+ name: 'groupId',
+ store: 'Groups',
+ queryMode: 'local',
+ displayField: 'name',
+ valueField: 'id',
+ width: Traccar.Style.formFieldWithButtonWidth,
+ editable: false
+ }, {
+ xtype:'button',
+ glyph: 'xf00d@FontAwesome',
+ margin: '0 0 0 3px',
+ handler: function (button) {
+ button.up().down().clearValue();
+ }
+ }]
}]
}]
}