summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorKhoi Nguyen <bng@odoo.com>2017-08-14 14:53:44 +0200
committerKhoi Nguyen <bng@odoo.com>2017-08-14 15:27:58 +0200
commit178873d4337148e75041c61c9cd1862edaafa37d (patch)
treea961b7aa47b960e865bf5b1aa4116d95ebae0759 /addons/web/static/src/js/views/basic
parent7978f846d17282e6246a72dbe8bb1a5e78cadae6 (diff)
[FIX] web: fix copy (Ctrl-C) of text field content in Firefox
Before this commit, it was not possible to copy the contents of a multiline text field in read-only mode in Firefox without losing all line breaks in the process. This is due to a bug affecting div tags (see https://bugzilla.mozilla.org/show_bug.cgi?id=1390115) in Firefox. This commit ensures that the text in a text field is surrounded by a span (as opposed to div) tag. Note that spans were used in saas-15, so we are in fact simply undoing the change to divs introduced by the new views.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions