aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit
diff options
context:
space:
mode:
authorEvgeny S Maksimov <admin@vragam.net>2019-02-26 12:21:51 +0300
committerEvgeny S Maksimov <admin@vragam.net>2019-02-26 12:21:51 +0300
commitaf41d034854a8d267463759a72fe1f610c9d297d (patch)
treea102b1dd99936c161fa01673fee09bb56c71cd8d /web/app/view/edit
parent9a14f9599659c587a646ee322db5b65fa65d801d (diff)
downloadetbsa-traccar-web-af41d034854a8d267463759a72fe1f610c9d297d.tar.gz
etbsa-traccar-web-af41d034854a8d267463759a72fe1f610c9d297d.tar.bz2
etbsa-traccar-web-af41d034854a8d267463759a72fe1f610c9d297d.zip
Implementation fixes
Diffstat (limited to 'web/app/view/edit')
-rw-r--r--web/app/view/edit/DevicesController.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/web/app/view/edit/DevicesController.js b/web/app/view/edit/DevicesController.js
index 120944b..79cbe2f 100644
--- a/web/app/view/edit/DevicesController.js
+++ b/web/app/view/edit/DevicesController.js
@@ -35,7 +35,8 @@ Ext.define('Traccar.view.edit.DevicesController', {
listen: {
controller: {
'*': {
- selectreport: 'selectReport'
+ selectreport: 'deselectDevice',
+ selectevent: 'deselectDevice'
},
'root': {
selectdevice: 'selectDevice'
@@ -122,8 +123,8 @@ Ext.define('Traccar.view.edit.DevicesController', {
this.getView().getView().focusRow(device);
},
- selectReport: function (position) {
- if (position !== undefined) {
+ deselectDevice: function (object) {
+ if (object !== undefined) {
this.deselectFeature();
}
},