aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UsersController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-28 17:00:40 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-28 17:00:40 +0500
commit6f0bcddcac9a2ec711f545f1278a4ec991d05aa6 (patch)
treee224b0867554d64ba7c2a985c1ceaab529a075d1 /web/app/view/UsersController.js
parent69291297bab7e61af8596f6cca425fadbaf1304f (diff)
downloadtrackermap-web-6f0bcddcac9a2ec711f545f1278a4ec991d05aa6.tar.gz
trackermap-web-6f0bcddcac9a2ec711f545f1278a4ec991d05aa6.tar.bz2
trackermap-web-6f0bcddcac9a2ec711f545f1278a4ec991d05aa6.zip
Remove Dialog from names
Diffstat (limited to 'web/app/view/UsersController.js')
-rw-r--r--web/app/view/UsersController.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js
index 365b3583..eaae230c 100644
--- a/web/app/view/UsersController.js
+++ b/web/app/view/UsersController.js
@@ -21,7 +21,7 @@ Ext.define('Traccar.view.UsersController', {
alias: 'controller.users',
requires: [
- 'Traccar.view.dialog.UserDialog',
+ 'Traccar.view.dialog.User',
'Traccar.view.UserDevices',
'Traccar.view.UserGroups',
'Traccar.view.UserGeofences',
@@ -33,7 +33,7 @@ Ext.define('Traccar.view.UsersController', {
],
objectModel: 'Traccar.model.User',
- objectDialog: 'Traccar.view.dialog.UserDialog',
+ objectDialog: 'Traccar.view.dialog.User',
removeTitle: Strings.settingsUser,
init: function () {
@@ -43,7 +43,7 @@ Ext.define('Traccar.view.UsersController', {
onEditClick: function () {
var dialog, user = this.getView().getSelectionModel().getSelection()[0];
- dialog = Ext.create('Traccar.view.dialog.UserDialog', {
+ dialog = Ext.create('Traccar.view.dialog.User', {
selfEdit: user.get('id') === Traccar.app.getUser().get('id')
});
dialog.down('form').loadRecord(user);
@@ -59,7 +59,7 @@ Ext.define('Traccar.view.UsersController', {
if (Traccar.app.getUser().get('expirationTime')) {
user.set('expirationTime', Traccar.app.getUser().get('expirationTime'));
}
- dialog = Ext.create('Traccar.view.UserDialog');
+ dialog = Ext.create('Traccar.view.dialog.User');
dialog.down('form').loadRecord(user);
dialog.show();
},