diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-26 09:38:05 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 09:38:05 +1200 |
commit | 7bbeccee30f5fa207d2754d977d9e5b7c4c857d8 (patch) | |
tree | 25c8bfa3f1b0c460063b5d8efd5f06a9f13fe7c8 /web/app/view/AttributeDialog.js | |
parent | 2c48057bd628c523fbfad0559b3a1627daa46e47 (diff) | |
parent | 0c1c9b07aafcf02d2be4129517fd0c87f01cf9d4 (diff) | |
download | trackermap-server-7bbeccee30f5fa207d2754d977d9e5b7c4c857d8.tar.gz trackermap-server-7bbeccee30f5fa207d2754d977d9e5b7c4c857d8.tar.bz2 trackermap-server-7bbeccee30f5fa207d2754d977d9e5b7c4c857d8.zip |
Merge pull request #2158 from Abyss777/attributes
Fix attribute editing
Diffstat (limited to 'web/app/view/AttributeDialog.js')
-rw-r--r-- | web/app/view/AttributeDialog.js | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/web/app/view/AttributeDialog.js b/web/app/view/AttributeDialog.js index be06b7576..213891ecd 100644 --- a/web/app/view/AttributeDialog.js +++ b/web/app/view/AttributeDialog.js @@ -15,13 +15,13 @@ */ Ext.define('Traccar.view.AttributeDialog', { - extend: 'Traccar.view.BaseEditDialog', + extend: 'Traccar.view.BaseDialog', requires: [ - 'Traccar.view.BaseEditDialogController' + 'Traccar.view.AttributeController' ], - controller: 'baseEditDialog', + controller: 'attributeDialog', title: Strings.sharedAttribute, items: { @@ -35,5 +35,13 @@ Ext.define('Traccar.view.AttributeDialog', { name: 'value', fieldLabel: Strings.stateValue }] - } + }, + + buttons: [{ + text: Strings.sharedSave, + handler: 'onSaveClick' + }, { + text: Strings.sharedCancel, + handler: 'closeView' + }] }); |