[MERGE][FIX] Position of m2o autocompletion on too small and non scrollable screens
bzr revid: rim@openerp.com-20140429112237-jdnd04gr1t2qot5r
This commit is contained in:
commit
6f51331d52
|
@ -3621,6 +3621,8 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
||||||
minLength: 0,
|
minLength: 0,
|
||||||
delay: 250
|
delay: 250
|
||||||
});
|
});
|
||||||
|
// set position for list of suggestions box
|
||||||
|
this.$input.autocomplete( "option", "position", { my : "left top", at: "left bottom" } );
|
||||||
this.$input.autocomplete("widget").openerpClass();
|
this.$input.autocomplete("widget").openerpClass();
|
||||||
// used to correct a bug when selecting an element by pushing 'enter' in an editable list
|
// used to correct a bug when selecting an element by pushing 'enter' in an editable list
|
||||||
this.$input.keyup(function(e) {
|
this.$input.keyup(function(e) {
|
||||||
|
|
Loading…
Reference in New Issue