summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-10-13 09:39:19 +0200
committerNicolas Lempereur <nle@odoo.com>2015-10-13 10:25:58 +0200
commit906c1e52fb20c769fbab7dc016fefb2891a50bac (patch)
treeb43b3ad6654ce47b3ec74f2dd01e3e2a029a7949 /addons/web/static/src/js/framework/session_instance.js
parent20dba161d022f8c818f1ab4800b5631c75afc2a4 (diff)
[FIX] base: don't add last separator if no add attribute
When using "remove" in a xml inheritance without "add" attribute, the separator would be erronously appended at the end of the modified attribute value. e.g: we have "a,b" from which we remove "c", the end result would be "a,b," which is an invalid jQuery selector. This commit change this so empty tokens are not added to the attribute.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions