Browse Source

[FIX][web_option_auto_color] Compatibility with MS Edge.

pull/339/head
Adrien Peiffer (ACSONE) 9 years ago
parent
commit
82baea8d0b
  1. 4
      web_option_auto_color/static/src/xml/templates.xml

4
web_option_auto_color/static/src/xml/templates.xml

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve"> <templates id="template" xml:space="preserve">
<tr t-extend="ListView.row"> <tr t-extend="ListView.row">
<t t-jquery="td[t-att-data-field='column.id']">
this.attr('t-att-style', "column.autocolor == '1' and view.auto_color_cell_style(render_cell(record, column), column)")
<t t-jquery="td[t-att-data-field='column.id']" t-operation="attributes">
<attribute name="t-att-style">column.autocolor == '1' and view.auto_color_cell_style(render_cell(record, column), column)</attribute>
</t> </t>
</tr> </tr>
</templates> </templates>
Loading…
Cancel
Save