diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-09-01 14:06:04 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-09-03 16:17:53 +0200 |
| commit | f962b0f62831614137a9e1e509803bfa39be1110 (patch) | |
| tree | 193b10687804601b23ff9787f126f9ed05b376e5 /addons/web/static/src/js/framework/session_instance.js | |
| parent | 443447a2b1b47791e75560132baef711a521a915 (diff) | |
[IMP] base: flexibility for attibutes inheritance ('add' and 'remove')
Can use 'add' or 'remove' on attribute tag.
'add' values are stripped and add to the current value preceded with a space.
'remove' may contain more than one value separate by spaces.
'separator' by default space the string are splited by spaces.
E.g.:
<attribute name="thing">bob tata lolo</attribute>
<attribute name="thing" add="bibi" remove="tata"/>
thing contains: bob lolo bibi
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
