summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorHardik Prajapati <hap@odoo.com>2019-09-05 08:28:14 +0000
committerMohammed Shekha <msh@odoo.com>2019-09-12 10:01:47 +0000
commit3998fa8dc18ac36cf99f273d96c4b5f536ff7a9f (patch)
treed6f18308022b81802b51ef73cc04faf2aade7d42 /addons/web/static/src/js/widgets
parent02327d8a6b5bd2b5c6b424005bb46d95ee39ff94 (diff)
[IMP] web: removed extra space in export field list
before this commit: when manually adding field in export wizard, string has extra space in begining. after this commit: manually added field in export field list doesn't contain any extra spaces. task-2065433 closes odoo/odoo#36759 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/widgets')
-rw-r--r--addons/web/static/src/js/widgets/data_export.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/data_export.js b/addons/web/static/src/js/widgets/data_export.js
index 97ec75e6b47..87900f9f0aa 100644
--- a/addons/web/static/src/js/widgets/data_export.js
+++ b/addons/web/static/src/js/widgets/data_export.js
@@ -139,7 +139,7 @@ var DataExport = Dialog.extend({
$fieldList.append(
$('<li>', {'class': 'o_export_field', 'data-field_id': fieldID}).append(
$('<span>', {'class': "fa fa-arrows o_short_field mx-1"}),
- label,
+ label.trim(),
$('<span>', {'class': 'fa fa-trash m-1 pull-right o_remove_field', 'title': _t("Remove field")})
)
);