aboutsummaryrefslogtreecommitdiff
path: root/web/app/controller
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-01 16:05:15 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-01 16:05:15 +0500
commit65bb228fd2dff0993ef4d8817175bdb96c854e1f (patch)
tree2ce4d56503523bb2ed58b0f6a1896423d99a66d8 /web/app/controller
parenta193759f2a38a6b32cb1a0819ef0c687b7b52071 (diff)
downloadtrackermap-server-65bb228fd2dff0993ef4d8817175bdb96c854e1f.tar.gz
trackermap-server-65bb228fd2dff0993ef4d8817175bdb96c854e1f.tar.bz2
trackermap-server-65bb228fd2dff0993ef4d8817175bdb96c854e1f.zip
Replace all getData().* on getId() and get()
Diffstat (limited to 'web/app/controller')
-rw-r--r--web/app/controller/Root.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index dc759a08b..26f2f6f29 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -190,7 +190,7 @@ Ext.define('Traccar.controller.Root', {
if (array[i].geofenceId !== 0) {
geofence = Ext.getStore('Geofences').getById(array[i].geofenceId);
if (typeof geofence !== 'undefined') {
- text += ' \"' + geofence.getData().name + '"';
+ text += ' \"' + geofence.get('name') + '"';
}
}
device = Ext.getStore('Devices').getById(array[i].deviceId);