From ef58095c5f841863c271c9f0995a20ac5215fe58 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 18 Nov 2016 17:10:47 +0500 Subject: Fix passing parameter and declaration --- web/app/view/UserDialogController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web') 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)); -- cgit v1.2.3