Browse Source

Merge pull request #339 from acsone/8.0-fix-option-auto-color-ms-edge-ape

[FIX][web_option_auto_color] Compatibility with MS Browsers.
pull/349/head
Pedro M. Baeza 9 years ago
parent
commit
15ab6006d9
  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