diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-18 11:12:14 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-18 11:12:14 +0500 |
commit | 94ea366eb33694447812e6d63133aea28379d6f4 (patch) | |
tree | dac204b1fa084c4cfdab8cfec932edebedbe9624 /web/app/view/DeviceDialog.js | |
parent | d3e063cf9de8a45bed4dfe87b73aadfd8d2edeab (diff) | |
download | trackermap-server-94ea366eb33694447812e6d63133aea28379d6f4.tar.gz trackermap-server-94ea366eb33694447812e6d63133aea28379d6f4.tar.bz2 trackermap-server-94ea366eb33694447812e6d63133aea28379d6f4.zip |
- Added attributes to devices
- Fixed license header for DeviceManager.java
- Fixed editing attributes for not saved (new) object.
Diffstat (limited to 'web/app/view/DeviceDialog.js')
-rw-r--r-- | web/app/view/DeviceDialog.js | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js index 37462ef88..2938d5dc3 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.BaseEditDialogController' + 'Traccar.view.DeviceDialogController' ], - controller: 'baseEditDialog', + controller: 'deviceDialog', title: Strings.deviceDialog, items: { @@ -45,5 +45,18 @@ 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' + }] }); |