aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:54:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:54:24 +1200
commitd5d7a82207f27fa5e544e1cf050dcc02fc1df12f (patch)
tree8f6bf5aeeae8d56f7295d0c1a8a1f15c7d746148 /web/app/view/device
parent8e41bea48b0b248bcb198186783778002a92738e (diff)
downloadtrackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.tar.gz
trackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.tar.bz2
trackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.zip
Change aliases and xtype names
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');