aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-09 16:04:20 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-09 16:04:20 +0500
commitfd4029af507afac83fa5db4b863b26ac2e205bd3 (patch)
treeec17e8d1c251817f06b3d2ee043fe2f288c52089 /web/app/view/edit
parentc7888fcf5e92280ed4573ee0973872a59451ac52 (diff)
downloadtrackermap-web-fd4029af507afac83fa5db4b863b26ac2e205bd3.tar.gz
trackermap-web-fd4029af507afac83fa5db4b863b26ac2e205bd3.tar.bz2
trackermap-web-fd4029af507afac83fa5db4b863b26ac2e205bd3.zip
Select device on load if there is deviceId url parameter
Diffstat (limited to 'web/app/view/edit')
-rw-r--r--web/app/view/edit/DevicesController.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/view/edit/DevicesController.js b/web/app/view/edit/DevicesController.js
index 9de298cf..ae65fbb1 100644
--- a/web/app/view/edit/DevicesController.js
+++ b/web/app/view/edit/DevicesController.js
@@ -36,6 +36,9 @@ Ext.define('Traccar.view.edit.DevicesController', {
'*': {
selectreport: 'selectReport'
},
+ 'root': {
+ selectdevice: 'selectDevice'
+ },
'map': {
selectdevice: 'selectDevice',
deselectfeature: 'deselectFeature'