aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Device.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-18 21:48:40 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-18 21:48:40 -0700
commit04a92f0fbae8cee0e88b56e736a6c4178d39ca35 (patch)
tree724bd348f6433a78e4a781807da53f348a6cc584 /web/app/view/dialog/Device.js
parentecde88443393ac77b133d2682fef3885f859818e (diff)
downloadtrackermap-web-04a92f0fbae8cee0e88b56e736a6c4178d39ca35.tar.gz
trackermap-web-04a92f0fbae8cee0e88b56e736a6c4178d39ca35.tar.bz2
trackermap-web-04a92f0fbae8cee0e88b56e736a6c4178d39ca35.zip
Unescape all text fields (fix #4283)
Diffstat (limited to 'web/app/view/dialog/Device.js')
-rw-r--r--web/app/view/dialog/Device.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/web/app/view/dialog/Device.js b/web/app/view/dialog/Device.js
index 50a5e79c..60a8f716 100644
--- a/web/app/view/dialog/Device.js
+++ b/web/app/view/dialog/Device.js
@@ -20,7 +20,8 @@ Ext.define('Traccar.view.dialog.Device', {
requires: [
'Traccar.view.ClearableComboBox',
- 'Traccar.view.dialog.DeviceController'
+ 'Traccar.view.dialog.DeviceController',
+ 'Traccar.view.UnescapedTextField'
],
controller: 'device',
@@ -32,12 +33,12 @@ Ext.define('Traccar.view.dialog.Device', {
xtype: 'fieldset',
title: Strings.sharedRequired,
items: [{
- xtype: 'textfield',
+ xtype: 'unescapedTextField',
name: 'name',
fieldLabel: Strings.sharedName,
allowBlank: false
}, {
- xtype: 'textfield',
+ xtype: 'unescapedTextField',
name: 'uniqueId',
fieldLabel: Strings.deviceIdentifier,
allowBlank: false
@@ -56,15 +57,15 @@ Ext.define('Traccar.view.dialog.Device', {
displayField: 'name',
valueField: 'id'
}, {
- xtype: 'textfield',
+ xtype: 'unescapedTextField',
name: 'phone',
fieldLabel: Strings.sharedPhone
}, {
- xtype: 'textfield',
+ xtype: 'unescapedTextField',
name: 'model',
fieldLabel: Strings.deviceModel
}, {
- xtype: 'textfield',
+ xtype: 'unescapedTextField',
name: 'contact',
fieldLabel: Strings.deviceContact
}, {