aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/MapController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-06 16:09:11 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-06 16:09:11 +0500
commit68d284f3023d49c0c3ae9879c5c75c9b152eda3b (patch)
tree36be903658d4fad3f246fcb6727fd294067d5c00 /web/app/view/MapController.js
parent97e80ec49fddec3d56880bae47bd070474fa8fa3 (diff)
downloadtrackermap-server-68d284f3023d49c0c3ae9879c5c75c9b152eda3b.tar.gz
trackermap-server-68d284f3023d49c0c3ae9879c5c75c9b152eda3b.tar.bz2
trackermap-server-68d284f3023d49c0c3ae9879c5c75c9b152eda3b.zip
Rename other events to lowercase
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);
}
}
},