[FIX] IE9 - Move the placeholder in base_import from view to js, to use the mechanism of select2 and not the jquery.placeholder. Else, jq.placeholder override the select2 value, because the style option is in reality an input in dom.

bzr revid: jke@openerp.com-20140325173205-n2q0dw1kynlkint7
This commit is contained in:
Kersten Jeremy 2014-03-25 18:32:05 +01:00
parent 062ee7485c
commit b2ea875f4c
2 changed files with 2 additions and 3 deletions

View File

@ -285,7 +285,7 @@ openerp.base_import = function (instance) {
callback(item_finder(default_value));
},
placeholder: _t('Don\'t import'),
width: 'resolve',
dropdownCssClass: 'oe_import_selector'
});

View File

@ -347,8 +347,7 @@
<tr class="oe_import_fields">
<!-- Iterate on first row to ensure we have all columns -->
<td t-foreach="preview[0]" t-as="column">
<input placeholder="Don't Import"
class="oe_import_match_field"/>
<input class="oe_import_match_field"/>
</td>
</tr>
<tr t-foreach="preview" t-as="row" class="oe_import_grid-row">