diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-25 20:46:21 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-25 20:46:21 +0500 |
commit | 0c1c9b07aafcf02d2be4129517fd0c87f01cf9d4 (patch) | |
tree | bc0273c9ae201579f19ba785b865a3d93227f73c /web/app/view/AttributeDialog.js | |
parent | fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9 (diff) | |
download | trackermap-server-0c1c9b07aafcf02d2be4129517fd0c87f01cf9d4.tar.gz trackermap-server-0c1c9b07aafcf02d2be4129517fd0c87f01cf9d4.tar.bz2 trackermap-server-0c1c9b07aafcf02d2be4129517fd0c87f01cf9d4.zip |
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' + }] }); |