aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-01 15:22:31 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-01 15:22:31 +0500
commita193759f2a38a6b32cb1a0819ef0c687b7b52071 (patch)
treec86c731735b5b4e817b1bd49eaa455c2ad51575b /web
parent1fe4c2e0b636646fddb28081c7cdfd3c5593ae77 (diff)
downloadtrackermap-server-a193759f2a38a6b32cb1a0819ef0c687b7b52071.tar.gz
trackermap-server-a193759f2a38a6b32cb1a0819ef0c687b7b52071.tar.bz2
trackermap-server-a193759f2a38a6b32cb1a0819ef0c687b7b52071.zip
Fix find index in BasePermissionsController.js
Diffstat (limited to 'web')
-rw-r--r--web/app/view/BasePermissionsController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/BasePermissionsController.js b/web/app/view/BasePermissionsController.js
index 3cdc2e4dc..5aa261c63 100644
--- a/web/app/view/BasePermissionsController.js
+++ b/web/app/view/BasePermissionsController.js
@@ -36,7 +36,7 @@ Ext.define('Traccar.view.BasePermissionsController', {
var i, index;
if (success) {
for (i = 0; i < records.length; i++) {
- index = this.getView().getStore().find('id', records[i].getData().id);
+ index = this.getView().getStore().findExact('id', records[i].getData().id);
this.getView().getSelectionModel().select(index, true, true);
}
}