aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/MapController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/MapController.js')
-rw-r--r--web/app/view/MapController.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js
index c0ac2c534..3b0db6b07 100644
--- a/web/app/view/MapController.js
+++ b/web/app/view/MapController.js
@@ -22,8 +22,8 @@ Ext.define('Traccar.view.MapController', {
listen: {
controller: {
'*': {
- selectDevice: 'selectDevice',
- selectReport: 'selectReport',
+ selectdevice: 'selectDevice',
+ selectreport: 'selectReport',
mapstaterequest: 'getMapState'
}
},
@@ -43,7 +43,7 @@ Ext.define('Traccar.view.MapController', {
},
component: {
'#': {
- selectFeature: 'selectFeature'
+ selectfeature: 'selectFeature'
}
}
}
@@ -300,9 +300,9 @@ Ext.define('Traccar.view.MapController', {
var record = feature.get('record');
if (record) {
if (record instanceof Traccar.model.Device) {
- this.fireEvent('selectDevice', record, false);
+ this.fireEvent('selectdevice', record, false);
} else {
- this.fireEvent('selectReport', record, false);
+ this.fireEvent('selectreport', record, false);
}
}
},