aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/device')
-rw-r--r--web/app/view/device/Device.js4
-rw-r--r--web/app/view/device/DeviceController.js2
-rw-r--r--web/app/view/device/DeviceDialog.js3
-rw-r--r--web/app/view/device/DeviceDialogController.js2
4 files changed, 5 insertions, 6 deletions
diff --git a/web/app/view/device/Device.js b/web/app/view/device/Device.js
index 1435dcaf1..98b94b97b 100644
--- a/web/app/view/device/Device.js
+++ b/web/app/view/device/Device.js
@@ -16,8 +16,8 @@
Ext.define('Traccar.view.device.Device', {
extend: 'Ext.grid.Panel',
- xtype: 'device-view',
-
+ xtype: 'deviceView',
+
requires: [
'Traccar.view.device.DeviceController'
],
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/device/DeviceController.js
index e9cda9bbe..5a0ea85df 100644
--- a/web/app/view/device/DeviceController.js
+++ b/web/app/view/device/DeviceController.js
@@ -122,7 +122,7 @@ Ext.define('Traccar.view.device.DeviceController', {
layout: 'fit',
modal: true,
items: {
- xtype: 'user-view'
+ xtype: 'userView'
}
}).show();
},
diff --git a/web/app/view/device/DeviceDialog.js b/web/app/view/device/DeviceDialog.js
index 84a975c6a..5c5042587 100644
--- a/web/app/view/device/DeviceDialog.js
+++ b/web/app/view/device/DeviceDialog.js
@@ -16,13 +16,12 @@
Ext.define('Traccar.view.device.DeviceDialog', {
extend: 'Ext.window.Window',
- xtype: 'device-dialog',
requires: [
'Traccar.view.device.DeviceDialogController'
],
- controller: 'devicedialog',
+ controller: 'deviceDialog',
bodyPadding: styles.panelPadding,
title: strings.deviceDialog,
diff --git a/web/app/view/device/DeviceDialogController.js b/web/app/view/device/DeviceDialogController.js
index 75f0a14ca..0fcb1efb3 100644
--- a/web/app/view/device/DeviceDialogController.js
+++ b/web/app/view/device/DeviceDialogController.js
@@ -16,7 +16,7 @@
Ext.define('Traccar.view.device.DeviceDialogController', {
extend: 'Ext.app.ViewController',
- alias: 'controller.devicedialog',
+ alias: 'controller.deviceDialog',
onSaveClick: function(button) {
var dialog = button.up('window').down('form');