Merge lp:~unifield-team/unifield-web/us-1073 into lp:unifield-web

Proposed by jftempo
Status: Merged
Merged at revision: 4798
Proposed branch: lp:~unifield-team/unifield-web/us-1073
Merge into: lp:unifield-web
Diff against target: 17 lines (+2/-1)
1 file modified
addons/openerp/static/javascript/m2o.js (+2/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-web/us-1073
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+302545@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/openerp/static/javascript/m2o.js'
2--- addons/openerp/static/javascript/m2o.js 2013-08-21 08:37:23 +0000
3+++ addons/openerp/static/javascript/m2o.js 2016-08-10 12:40:51 +0000
4@@ -282,12 +282,13 @@
5 if(evt.currentTarget) {
6 if(evt.target.tagName.toLowerCase() == 'input') {
7 var w;
8+ var mw = 0;
9 if(jQuery('#search_filter_data').is(':visible')) {
10 w = jQuery(evt.currentTarget).width()
11 } else {
12 w = jQuery(evt.currentTarget).width() + jQuery(idSelector(this.name + '_select')).width();
13 }
14- jQuery('div.autoTextResults[id$="' + this.name + '"]').width(w)
15+ jQuery('div.autoTextResults[id$="' + this.name + '"]').css('min-width', w);
16 }
17 }
18

Subscribers

People subscribed via source and target branches

to all changes: