From 65bb228fd2dff0993ef4d8817175bdb96c854e1f Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 1 Sep 2016 16:05:15 +0500 Subject: Replace all getData().* on getId() and get() --- web/app/controller/Root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/controller/Root.js') 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); -- cgit v1.2.3