aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Device.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/Device.js')
-rw-r--r--web/app/view/dialog/Device.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/web/app/view/dialog/Device.js b/web/app/view/dialog/Device.js
index c024bf3c..50a5e79c 100644
--- a/web/app/view/dialog/Device.js
+++ b/web/app/view/dialog/Device.js
@@ -19,9 +19,11 @@ Ext.define('Traccar.view.dialog.Device', {
extend: 'Traccar.view.dialog.BaseEdit',
requires: [
- 'Traccar.view.ClearableComboBox'
+ 'Traccar.view.ClearableComboBox',
+ 'Traccar.view.dialog.DeviceController'
],
+ controller: 'device',
title: Strings.sharedDevice,
items: {
@@ -82,6 +84,14 @@ Ext.define('Traccar.view.dialog.Device', {
'<td>{name}</td></tr></table>';
}
}
+ }, {
+ xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
+ name: 'disabled',
+ fieldLabel: Strings.sharedDisabled,
+ hidden: true,
+ reference: 'disabledField'
}]
}]
}