aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/Devices.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-17 11:34:09 +1200
committerGitHub <noreply@github.com>2017-05-17 11:34:09 +1200
commit31187bc2a3ae41ab553a6472b7592895e3641fe8 (patch)
treed5b130414ed164586efb867b7649de1617f2c90c /web/app/view/edit/Devices.js
parente200c1b9fe2f840d0d28836e19abaebb7c33210e (diff)
parent54137d72265355c04c4b71836d524391ea144998 (diff)
downloadetbsa-traccar-web-31187bc2a3ae41ab553a6472b7592895e3641fe8.tar.gz
etbsa-traccar-web-31187bc2a3ae41ab553a6472b7592895e3641fe8.tar.bz2
etbsa-traccar-web-31187bc2a3ae41ab553a6472b7592895e3641fe8.zip
Merge pull request #486 from Abyss777/computed_attributes
Implement computed attributes
Diffstat (limited to 'web/app/view/edit/Devices.js')
-rw-r--r--web/app/view/edit/Devices.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/view/edit/Devices.js b/web/app/view/edit/Devices.js
index b5b6bad..fe3de42 100644
--- a/web/app/view/edit/Devices.js
+++ b/web/app/view/edit/Devices.js
@@ -75,6 +75,14 @@ Ext.define('Traccar.view.edit.Devices', {
tooltip: Strings.sharedGeofences,
tooltipType: 'title'
}, {
+ xtype: 'button',
+ disabled: true,
+ handler: 'onAttributesClick',
+ reference: 'toolbarAttributesButton',
+ glyph: 'xf0ae@FontAwesome',
+ tooltip: Strings.sharedComputedAttributes,
+ tooltipType: 'title'
+ }, {
disabled: true,
handler: 'onCommandClick',
reference: 'deviceCommandButton',