diff options
Diffstat (limited to 'web/app/view/admin')
-rw-r--r-- | web/app/view/admin/ServerDialog.js | 3 | ||||
-rw-r--r-- | web/app/view/admin/ServerDialogController.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/web/app/view/admin/ServerDialog.js b/web/app/view/admin/ServerDialog.js index 0e2dad995..37bb498a0 100644 --- a/web/app/view/admin/ServerDialog.js +++ b/web/app/view/admin/ServerDialog.js @@ -16,13 +16,12 @@ Ext.define('Traccar.view.admin.ServerDialog', { extend: 'Ext.window.Window', - xtype: 'server-dialog', requires: [ 'Traccar.view.admin.ServerDialogController' ], - controller: 'serverdialog', + controller: 'serverDialog', bodyPadding: styles.panelPadding, title: strings.serverTitle, diff --git a/web/app/view/admin/ServerDialogController.js b/web/app/view/admin/ServerDialogController.js index bbb98d3a0..ed1ec20f8 100644 --- a/web/app/view/admin/ServerDialogController.js +++ b/web/app/view/admin/ServerDialogController.js @@ -16,7 +16,7 @@ Ext.define('Traccar.view.admin.ServerDialogController', { extend: 'Ext.app.ViewController', - alias: 'controller.serverdialog', + alias: 'controller.serverDialog', onSaveClick: function(button) { var dialog = button.up('window').down('form'); |