[IMP]improved position of m2o autocomplete.

bzr revid: kch@tinyerp.com-20131003053002-v4bzzklwzbinxw2a
This commit is contained in:
Kunal Chavda (Open ERP) 2013-10-03 11:00:02 +05:30
parent fb17860c41
commit 348d05be82
1 changed files with 2 additions and 0 deletions

View File

@ -3390,6 +3390,8 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
minLength: 0,
delay: 0
});
//set position for list of suggetions box
this.$input.autocomplete( "option", "position", { my : "left top", at: "left bottom" } );
this.$input.autocomplete("widget").openerpClass();
// used to correct a bug when selecting an element by pushing 'enter' in an editable list
this.$input.keyup(function(e) {