[fix] added openerp style to autocomplete in m2o

bzr revid: nicolas.vanhoren@openerp.com-20120217134523-bleeq4c1x3skjn4t
This commit is contained in:
niv-openerp
2012-02-17 14:45:23 +01:00
parent 0d061d6c77
commit 9b1591c819
+1
View File
@@ -2043,6 +2043,7 @@ openerp.web.form.FieldMany2One = openerp.web.form.Field.extend({
minLength: 0,
delay: 0
});
this.$input.autocomplete("widget").addClass("openerp");
// used to correct a bug when selecting an element by pushing 'enter' in an editable list
this.$input.keyup(function(e) {
if (e.which === 13) {