From 4154c2cd31f23c5d5fb336dfcd68ba192b297f93 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 16 Sep 2015 22:45:14 +1200 Subject: More JavaScript code cleanup --- web/app/view/map/Map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/app/view/map/Map.js') diff --git a/web/app/view/map/Map.js b/web/app/view/map/Map.js index e70af0918..6e8ab6fad 100644 --- a/web/app/view/map/Map.js +++ b/web/app/view/map/Map.js @@ -30,8 +30,8 @@ Ext.define('Traccar.view.map.Map', { listeners: { afterrender: function() { - var user = Traccar.getApplication().getUser(); - var server = Traccar.getApplication().getServer(); + var user = Traccar.app.getUser(); + var server = Traccar.app.getServer(); var layer; var mapLayer = user.get('map') || server.get('map'); -- cgit v1.2.3