diff options
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' + }] }); |