aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialogController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-18 17:10:47 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-18 17:10:47 +0500
commitef58095c5f841863c271c9f0995a20ac5215fe58 (patch)
treee1355ac4d804f5f1c9280c94babb92ea74c13632 /web/app/view/UserDialogController.js
parentc6d8d7646a06e2624a0dac48b93fd5b1dd0db146 (diff)
downloadtrackermap-web-ef58095c5f841863c271c9f0995a20ac5215fe58.tar.gz
trackermap-web-ef58095c5f841863c271c9f0995a20ac5215fe58.tar.bz2
trackermap-web-ef58095c5f841863c271c9f0995a20ac5215fe58.zip
Fix passing parameter and declaration
Diffstat (limited to 'web/app/view/UserDialogController.js')
-rw-r--r--web/app/view/UserDialogController.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js
index e2e822e7..020bd801 100644
--- a/web/app/view/UserDialogController.js
+++ b/web/app/view/UserDialogController.js
@@ -33,8 +33,7 @@ Ext.define('Traccar.view.UserDialogController', {
symbols: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
generateToken: function () {
- var newToken, i;
- newToken = '';
+ var i, newToken = '';
for (i = 0; i < 16; i++) {
newToken += this.symbols.charAt(Math.floor(Math.random() * this.symbols.length));