Merge lp:~openerp-dev/openerp-web/trunk-m2o-autocomplete-position-kch into lp:openerp-web

Proposed by Nicolas Vanhoren (OpenERP)
Status: Merged
Approved by: Richard Mathot (Odoo, formerly OpenERP)
Approved revision: 3851
Merged at revision: 3993
Proposed branch: lp:~openerp-dev/openerp-web/trunk-m2o-autocomplete-position-kch
Merge into: lp:openerp-web
Diff against target: 12 lines (+2/-0)
1 file modified
addons/web/static/src/js/view_form.js (+2/-0)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-m2o-autocomplete-position-kch
Reviewer Review Type Date Requested Status
Richard Mathot (Odoo, formerly OpenERP) (community) Approve
OpenERP R&D Web Team Pending
Review via email: mp+189022@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Seems ok to me.

Revision history for this message
Richard Mathot (Odoo, formerly OpenERP) (rim-openerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/js/view_form.js'
2--- addons/web/static/src/js/view_form.js 2014-04-17 14:04:52 +0000
3+++ addons/web/static/src/js/view_form.js 2014-04-18 08:41:19 +0000
4@@ -3602,6 +3602,8 @@
5 minLength: 0,
6 delay: 250
7 });
8+ //set position for list of suggetions box
9+ this.$input.autocomplete( "option", "position", { my : "left top", at: "left bottom" } );
10 this.$input.autocomplete("widget").openerpClass();
11 // used to correct a bug when selecting an element by pushing 'enter' in an editable list
12 this.$input.keyup(function(e) {