aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/user
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:54:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:54:24 +1200
commitd5d7a82207f27fa5e544e1cf050dcc02fc1df12f (patch)
tree8f6bf5aeeae8d56f7295d0c1a8a1f15c7d746148 /web/app/view/user
parent8e41bea48b0b248bcb198186783778002a92738e (diff)
downloadtrackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.tar.gz
trackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.tar.bz2
trackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.zip
Change aliases and xtype names
Diffstat (limited to 'web/app/view/user')
-rw-r--r--web/app/view/user/User.js4
-rw-r--r--web/app/view/user/UserDialog.js3
-rw-r--r--web/app/view/user/UserDialogController.js2
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')) {