diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-02 00:30:55 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-02 00:30:55 +1200 |
commit | bfcf42c5d55083bec83451400a432c7004f063c5 (patch) | |
tree | 2ce4d56503523bb2ed58b0f6a1896423d99a66d8 /web/app/controller/Root.js | |
parent | 1fe4c2e0b636646fddb28081c7cdfd3c5593ae77 (diff) | |
parent | 65bb228fd2dff0993ef4d8817175bdb96c854e1f (diff) | |
download | trackermap-server-bfcf42c5d55083bec83451400a432c7004f063c5.tar.gz trackermap-server-bfcf42c5d55083bec83451400a432c7004f063c5.tar.bz2 trackermap-server-bfcf42c5d55083bec83451400a432c7004f063c5.zip |
Merge pull request #2279 from Abyss777/fix_permissions
Fix find index in BasePermissionsController.js
Diffstat (limited to 'web/app/controller/Root.js')
-rw-r--r-- | web/app/controller/Root.js | 2 |
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); |