diff options
Diffstat (limited to 'web/app/view/user')
-rw-r--r-- | web/app/view/user/User.js | 4 | ||||
-rw-r--r-- | web/app/view/user/UserDialog.js | 3 | ||||
-rw-r--r-- | web/app/view/user/UserDialogController.js | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/web/app/view/user/User.js b/web/app/view/user/User.js index a355bbe2f..69498310f 100644 --- a/web/app/view/user/User.js +++ b/web/app/view/user/User.js @@ -16,8 +16,8 @@ Ext.define('Traccar.view.user.User', { extend: 'Ext.grid.Panel', - xtype: 'user-view', - + xtype: 'userView', + requires: [ 'Traccar.view.user.UserController' ], diff --git a/web/app/view/user/UserDialog.js b/web/app/view/user/UserDialog.js index 5d92cf04b..d1bc68f96 100644 --- a/web/app/view/user/UserDialog.js +++ b/web/app/view/user/UserDialog.js @@ -16,13 +16,12 @@ Ext.define('Traccar.view.user.UserDialog', { extend: 'Ext.window.Window', - xtype: 'user-dialog', requires: [ 'Traccar.view.user.UserDialogController' ], - controller: 'userdialog', + controller: 'userDialog', bodyPadding: styles.panelPadding, title: strings.settingsUser, diff --git a/web/app/view/user/UserDialogController.js b/web/app/view/user/UserDialogController.js index c5464225c..cd37f70cf 100644 --- a/web/app/view/user/UserDialogController.js +++ b/web/app/view/user/UserDialogController.js @@ -16,7 +16,7 @@ Ext.define('Traccar.view.user.UserDialogController', { extend: 'Ext.app.ViewController', - alias: 'controller.userdialog', + alias: 'controller.userDialog', init: function() { if (Traccar.getApplication().getUser().get('admin')) { |