diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-28 15:55:33 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-28 16:08:48 +0500 |
commit | 69291297bab7e61af8596f6cca425fadbaf1304f (patch) | |
tree | 08db3c7567934c2f958413e3f077e4c1f15d31df /web/app/view/UsersController.js | |
parent | 94973f80f543f82630351a7e5943dd4c9150a8b0 (diff) | |
download | trackermap-web-69291297bab7e61af8596f6cca425fadbaf1304f.tar.gz trackermap-web-69291297bab7e61af8596f6cca425fadbaf1304f.tar.bz2 trackermap-web-69291297bab7e61af8596f6cca425fadbaf1304f.zip |
Move BaseDialog, subclasses and their controllers to dialog subfolder
Diffstat (limited to 'web/app/view/UsersController.js')
-rw-r--r-- | web/app/view/UsersController.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js index a79f9586..365b3583 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.UserDialog', + 'Traccar.view.dialog.UserDialog', '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.UserDialog', + objectDialog: 'Traccar.view.dialog.UserDialog', 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.UserDialog', { + dialog = Ext.create('Traccar.view.dialog.UserDialog', { selfEdit: user.get('id') === Traccar.app.getUser().get('id') }); dialog.down('form').loadRecord(user); |