aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DeviceDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-09 14:32:43 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-09 14:32:43 +0500
commit26ecb43bc27087ae1f7aac8a8b0ffa8421b846d9 (patch)
treeeade1dba9bbda5e1d24958211ac91c9d391bb7cb /web/app/view/DeviceDialog.js
parent03c7abe38d7d4852e80630d9f3f2124387f65d2c (diff)
downloadetbsa-traccar-web-26ecb43bc27087ae1f7aac8a8b0ffa8421b846d9.tar.gz
etbsa-traccar-web-26ecb43bc27087ae1f7aac8a8b0ffa8421b846d9.tar.bz2
etbsa-traccar-web-26ecb43bc27087ae1f7aac8a8b0ffa8421b846d9.zip
- Add other icons
- Add Category combobox
Diffstat (limited to 'web/app/view/DeviceDialog.js')
-rw-r--r--web/app/view/DeviceDialog.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js
index 68740b2..dea5074 100644
--- a/web/app/view/DeviceDialog.js
+++ b/web/app/view/DeviceDialog.js
@@ -57,6 +57,14 @@ Ext.define('Traccar.view.DeviceDialog', {
xtype: 'textfield',
name: 'contact',
fieldLabel: Strings.deviceContact
+ }, {
+ xtype: 'combobox',
+ name: 'category',
+ fieldLabel: Strings.deviceCategory,
+ store: 'DeviceImages',
+ queryMode: 'local',
+ displayField: 'name',
+ valueField: 'key',
}]
}
});