niv-openerp 2013-10-22 15:15:10 +02:00
parent 48e9bbff2b
commit 02177329c9
1 changed files with 1 additions and 1 deletions

View File

@ -2887,7 +2887,7 @@ instance.web.form.FieldSelection = instance.web.form.AbstractField.extend(instan
_.each(this.get("values"), function(el, i) {
if (el[0] === this.get('value'))
index = i;
});
}, this);
this.$el.find('select')[0].selectedIndex = index;
} else {
var self = this;