aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BasePermissionsController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-09 13:26:33 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-09 13:26:33 +1200
commitfe7b8bd58e23e289a041bc7c9a5d6c37f085419a (patch)
treed28b58d1ea3b4fcd6c715c4f2d2e2e04cb91c208 /web/app/view/BasePermissionsController.js
parent70d22de4205aec294660378f0d854cbc32c7a6b8 (diff)
downloadtrackermap-server-fe7b8bd58e23e289a041bc7c9a5d6c37f085419a.tar.gz
trackermap-server-fe7b8bd58e23e289a041bc7c9a5d6c37f085419a.tar.bz2
trackermap-server-fe7b8bd58e23e289a041bc7c9a5d6c37f085419a.zip
Fix issues in JavaScript code
Diffstat (limited to 'web/app/view/BasePermissionsController.js')
-rw-r--r--web/app/view/BasePermissionsController.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/BasePermissionsController.js b/web/app/view/BasePermissionsController.js
index 713d91770..3cdc2e4dc 100644
--- a/web/app/view/BasePermissionsController.js
+++ b/web/app/view/BasePermissionsController.js
@@ -19,10 +19,10 @@ Ext.define('Traccar.view.BasePermissionsController', {
alias: 'controller.basePermissionsController',
init: function () {
- var params = {};
+ var params = {}, linkStoreName, storeName;
params[this.getView().baseObjectName] = this.getView().baseObject;
- var linkStoreName = this.getView().linkStoreName;
- var storeName = this.getView().storeName;
+ linkStoreName = this.getView().linkStoreName;
+ storeName = this.getView().storeName;
linkStoreName = (typeof linkStoreName === 'undefined') ? storeName : linkStoreName;
this.getView().setStore(Ext.getStore(storeName));
this.getView().getStore().load({