diff options
author | Abyss777 <abyss@fox5.ru> | 2016-06-24 09:36:20 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-06-24 09:36:20 +0500 |
commit | 52e7002ed39c333884529c3a0e8b4c6d23f0115e (patch) | |
tree | 57e93aa9381b391e0e3e18f8208a7e2b364d5c8d /web/app/controller/Root.js | |
parent | bd2e0fdc6fe222316e9e740aa265b6d132d407b6 (diff) | |
download | trackermap-server-52e7002ed39c333884529c3a0e8b4c6d23f0115e.tar.gz trackermap-server-52e7002ed39c333884529c3a0e8b4c6d23f0115e.tar.bz2 trackermap-server-52e7002ed39c333884529c3a0e8b4c6d23f0115e.zip |
- Reverted changes in web-client
- Removed duplicate flag
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r-- | web/app/controller/Root.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 8ae348ca4..56a076edd 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -75,11 +75,6 @@ Ext.define('Traccar.controller.Root', { loadApp: function () { Ext.getStore('Groups').load(); Ext.getStore('Devices').load(); - Ext.getStore('Geofences').getProxy().on('exception', function(proxy, response, operation) { - if (operation && operation.error.status === 404) { - Traccar.app.withoutGeofences = true; - } - }); Ext.getStore('Geofences').load(); Ext.get('attribution').remove(); if (this.isPhone) { @@ -153,7 +148,7 @@ Ext.define('Traccar.controller.Root', { text = typeKey; } } - if (array[i].geofenceId !== 0 && !Traccar.app.withoutGeofences) { + if (array[i].geofenceId !== 0) { geofence = Ext.getStore('Geofences').getById(array[i].geofenceId); if (typeof geofence != "undefined") { text += ' \"' + geofence.getData().name + '"'; |