aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:57:33 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:57:33 +1300
commit4aabd4f6256ffca913f9718399b5d6aa778868b8 (patch)
tree3d7233ee35c21952cbdfb2324a24566128b0bb2b /web/app/view/UserController.js
parenta7a2174c927d27eead9139eb9ff65dc87d7eefbc (diff)
downloadtrackermap-server-4aabd4f6256ffca913f9718399b5d6aa778868b8.tar.gz
trackermap-server-4aabd4f6256ffca913f9718399b5d6aa778868b8.tar.bz2
trackermap-server-4aabd4f6256ffca913f9718399b5d6aa778868b8.zip
Fix some more check style issues
Diffstat (limited to 'web/app/view/UserController.js')
-rw-r--r--web/app/view/UserController.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/web/app/view/UserController.js b/web/app/view/UserController.js
index d5535bce3..0a6e4f553 100644
--- a/web/app/view/UserController.js
+++ b/web/app/view/UserController.js
@@ -29,15 +29,17 @@
},
onAddClick: function () {
- var user = Ext.create('Traccar.model.User');
- var dialog = Ext.create('Traccar.view.UserDialog');
+ var user, dialog;
+ user = Ext.create('Traccar.model.User'),
+ dialog = Ext.create('Traccar.view.UserDialog');
dialog.down('form').loadRecord(user);
dialog.show();
},
onEditClick: function () {
- var user = this.getView().getSelectionModel().getSelection()[0];
- var dialog = Ext.create('Traccar.view.UserDialog');
+ var user, dialog;
+ user = this.getView().getSelectionModel().getSelection()[0];
+ dialog = Ext.create('Traccar.view.UserDialog');
dialog.down('form').loadRecord(user);
dialog.show();
},