diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-29 09:58:40 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 09:58:40 +1300 |
commit | f78c547cdda0180a16bf76ddd7395d57dfc49016 (patch) | |
tree | e224b0867554d64ba7c2a985c1ceaab529a075d1 /web/app/view/SettingsMenuController.js | |
parent | 94973f80f543f82630351a7e5943dd4c9150a8b0 (diff) | |
parent | 6f0bcddcac9a2ec711f545f1278a4ec991d05aa6 (diff) | |
download | etbsa-traccar-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.tar.gz etbsa-traccar-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.tar.bz2 etbsa-traccar-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.zip |
Merge pull request #454 from Abyss777/move_dialog
Move BaseDialog, subclasses and their controllers to dialog subfolder
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r-- | web/app/view/SettingsMenuController.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index 8d1e563..8147bbe 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -20,16 +20,16 @@ Ext.define('Traccar.view.SettingsMenuController', { alias: 'controller.settings', requires: [ - 'Traccar.view.LoginController', - 'Traccar.view.UserDialog', - 'Traccar.view.ServerDialog', + 'Traccar.view.dialog.LoginController', + 'Traccar.view.dialog.User', + 'Traccar.view.dialog.Server', 'Traccar.view.Users', 'Traccar.view.Groups', 'Traccar.view.Geofences', 'Traccar.view.Notifications', 'Traccar.view.AttributeAliases', 'Traccar.view.Statistics', - 'Traccar.view.DeviceDistanceDialog', + 'Traccar.view.dialog.DeviceDistance', 'Traccar.view.Calendars', 'Traccar.view.BaseWindow' ], @@ -61,7 +61,7 @@ Ext.define('Traccar.view.SettingsMenuController', { }, onUserClick: function () { - var dialog = Ext.create('Traccar.view.UserDialog', { + var dialog = Ext.create('Traccar.view.dialog.User', { selfEdit: true }); dialog.down('form').loadRecord(Traccar.app.getUser()); @@ -90,7 +90,7 @@ Ext.define('Traccar.view.SettingsMenuController', { }, onServerClick: function () { - var dialog = Ext.create('Traccar.view.ServerDialog'); + var dialog = Ext.create('Traccar.view.dialog.Server'); dialog.down('form').loadRecord(Traccar.app.getServer()); dialog.show(); }, @@ -138,7 +138,7 @@ Ext.define('Traccar.view.SettingsMenuController', { }, onDeviceDistanceClick: function () { - var dialog = Ext.create('Traccar.view.DeviceDistanceDialog'); + var dialog = Ext.create('Traccar.view.dialog.DeviceDistance'); dialog.show(); }, |