diff options
Diffstat (limited to 'web/app/view/dialog/Server.js')
-rw-r--r-- | web/app/view/dialog/Server.js | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/web/app/view/dialog/Server.js b/web/app/view/dialog/Server.js index 8ff83992..c9729ccf 100644 --- a/web/app/view/dialog/Server.js +++ b/web/app/view/dialog/Server.js @@ -20,7 +20,8 @@ Ext.define('Traccar.view.dialog.Server', { requires: [ 'Traccar.view.ClearableComboBox', - 'Traccar.view.dialog.MapPickerController' + 'Traccar.view.dialog.MapPickerController', + 'Traccar.view.UnescapedTextField' ], controller: 'mapPicker', @@ -28,12 +29,6 @@ Ext.define('Traccar.view.dialog.Server', { items: { xtype: 'form', - listeners: { - afterrender: function (view) { - var field = view.up('panel').lookupReference('mapUrlField'); - field.setValue(Ext.String.htmlDecode(field.getValue())); - } - }, items: [{ xtype: 'fieldset', title: Strings.sharedPreferences, @@ -45,11 +40,11 @@ Ext.define('Traccar.view.dialog.Server', { displayField: 'name', valueField: 'key' }, { - xtype: 'textfield', + xtype: 'unescapedTextField', name: 'bingKey', fieldLabel: Strings.mapBingKey }, { - xtype: 'textfield', + xtype: 'unescapedTextField', reference: 'mapUrlField', name: 'mapUrl', fieldLabel: Strings.mapCustom @@ -90,7 +85,7 @@ Ext.define('Traccar.view.dialog.Server', { displayField: 'name', valueField: 'key' }, { - xtype: 'textfield', + xtype: 'unescapedTextField', name: 'poiLayer', fieldLabel: Strings.mapPoiLayer }] |