[FIX]Fixed code for javascript problems as par review.

bzr revid: kch@tinyerp.com-20110909114933-4f0zgiedo9dp865h
This commit is contained in:
Kunal Chavda (OpenERP)
2011-09-09 17:19:33 +05:30
parent ea82b31286
commit 555610e41b
3 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -1468,7 +1468,7 @@
<tr>
<t t-foreach="records.header" t-as="header">
<td>
<select name="sel_field" id="sel_field">
<select id="sel_field">
<option selected="selected" value=""></option>
<t t-foreach="records.sel" t-as="selection">
<option t-att="{'selected': header[0] === selection ? 'selected' : null}"