aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Attribute.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/Attribute.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/Attribute.js')
-rw-r--r--web/app/view/dialog/Attribute.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/app/view/dialog/Attribute.js b/web/app/view/dialog/Attribute.js
index 2a458977..a85cad05 100644
--- a/web/app/view/dialog/Attribute.js
+++ b/web/app/view/dialog/Attribute.js
@@ -21,7 +21,8 @@ Ext.define('Traccar.view.dialog.Attribute', {
requires: [
'Traccar.view.dialog.AttributeController',
'Traccar.view.ColorPicker',
- 'Traccar.view.CustomNumberField'
+ 'Traccar.view.CustomNumberField',
+ 'Traccar.view.UnescapedTextField'
],
controller: 'attribute',
@@ -33,7 +34,7 @@ Ext.define('Traccar.view.dialog.Attribute', {
validitychange: 'onValidityChange'
},
items: [{
- xtype: 'textfield',
+ xtype: 'unescapedTextField',
reference: 'nameTextField',
name: 'name',
allowBlank: false,