[fix] added openerp style to autocomplete in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120217134523-bleeq4c1x3skjn4t
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user