diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-25 17:47:50 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-25 17:47:50 +0500 |
commit | fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9 (patch) | |
tree | 0a9e69d6139e19a830a979a45b76f82ccbe27bb4 /web/app/view/BaseEditDialogController.js | |
parent | 7e20896334f4f6927cf14c5272cf7d893efc3a05 (diff) | |
download | trackermap-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.tar.gz trackermap-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.tar.bz2 trackermap-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.zip |
Added group and server attributes
Diffstat (limited to 'web/app/view/BaseEditDialogController.js')
-rw-r--r-- | web/app/view/BaseEditDialogController.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/web/app/view/BaseEditDialogController.js b/web/app/view/BaseEditDialogController.js index 33bd01bd8..511309650 100644 --- a/web/app/view/BaseEditDialogController.js +++ b/web/app/view/BaseEditDialogController.js @@ -38,5 +38,19 @@ Ext.define('Traccar.view.BaseEditDialogController', { record.save(); } button.up('window').close(); + }, + + showAttributesView: function (button) { + var dialog, record; + dialog = button.up('window').down('form'); + record = dialog.getRecord(); + Ext.create('Traccar.view.BaseWindow', { + title: Strings.sharedAttributes, + modal: false, + items: { + xtype: 'attributesView', + record: record + } + }).show(); } }); |