diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-01-24 11:11:55 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-01-24 11:11:55 +0100 |
| commit | 4bfd2047aa86dabdfe7345ef77904f712a1e9dd5 (patch) | |
| tree | ffccfb3e09c2dda6013bc5487e66136e6b67e128 /addons/web/static/src | |
| parent | aebe04d321df9d49a2e0ba27cd49eb212559379f (diff) | |
| parent | aff08256261e72a516a20fc86d62f9c7c3f4085d (diff) | |
[FIX] template rendering issues in IE8
bzr revid: xmo@openerp.com-20120124101155-b52f8b3jd6otn7j9
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index b119e5aae3c..5013f6423a4 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -682,7 +682,9 @@ </td> </t> <th t-if="options.selectable" class="oe-record-selector" width="1"> - <input t-att-type="options.radio? 'radio': 'checkbox'" name ="radiogroup" t-att-checked="options.select_view_id == record.get('id')? true: null"/> + <t t-set="checked" t-value="options.select_view_id == record.get('id') ? 'checked' : null"/> + <input t-if="options.radio" type="radio" name="radiogroup" t-att-checked="checked"/> + <input t-if="!options.radio" type="checkbox" name="radiogroup" t-att-checked="checked"/> </th> <th t-if="options.isClarkGable" class="oe-record-edit-link" width="1"> <img src="/web/static/src/img/pencil.gif" width="12" height="12" class="oe-record-edit-link-img"/> @@ -747,7 +749,7 @@ <input type="file" class="oe-binary-file" name="ufile" title="Add attachment" t-att-onclick="view.datarecord.id ? null : 'alert(\'No record selected ! You can only attach to existing record.\'); return false;'"/> </form> - <iframe t-attf-id="#{element_id}_iframe" t-attf-name="#{element_id}_iframe" style="display: none"> </iframe> + <iframe t-attf-id="#{element_id}_iframe" t-attf-name="#{element_id}_iframe" style="display: none"/> </div> </div> <br style="clear: both"/> @@ -1084,7 +1086,7 @@ <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/> <b>Uploading ...</b> </div> - <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe> + <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"/> </td> </tr> </table> @@ -1134,7 +1136,7 @@ <td class="oe-binary-progress" style="display: none" nowrap="true"> <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/> <b>Uploading ...</b> - <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe> + <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"/> </td> </tr> </table> |
