aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DeviceDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-25 17:47:50 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-25 17:47:50 +0500
commitfb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9 (patch)
tree0a9e69d6139e19a830a979a45b76f82ccbe27bb4 /web/app/view/DeviceDialog.js
parent7e20896334f4f6927cf14c5272cf7d893efc3a05 (diff)
downloadtrackermap-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.tar.gz
trackermap-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.tar.bz2
trackermap-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.zip
Added group and server attributes
Diffstat (limited to 'web/app/view/DeviceDialog.js')
-rw-r--r--web/app/view/DeviceDialog.js19
1 files changed, 3 insertions, 16 deletions
diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js
index 2938d5dc3..e88618fc5 100644
--- a/web/app/view/DeviceDialog.js
+++ b/web/app/view/DeviceDialog.js
@@ -18,10 +18,10 @@ Ext.define('Traccar.view.DeviceDialog', {
extend: 'Traccar.view.BaseEditDialog',
requires: [
- 'Traccar.view.DeviceDialogController'
+ 'Traccar.view.BaseEditDialog'
],
- controller: 'deviceDialog',
+ controller: 'baseEditDialog',
title: Strings.deviceDialog,
items: {
@@ -45,18 +45,5 @@ Ext.define('Traccar.view.DeviceDialog', {
displayField: 'name',
valueField: 'id'
}]
- },
-
- buttons: [{
- text : Strings.sharedAttributes,
- handler: 'showAttributesView'
- }, {
- xtype: 'tbfill'
- }, {
- text: Strings.sharedSave,
- handler: 'onSaveClick'
- }, {
- text: Strings.sharedCancel,
- handler: 'closeView'
- }]
+ }
});