From a060b1400b5cbea99a1394a2e3e1df873ec421d3 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 19 Oct 2012 13:08:04 +0200 Subject: [PATCH] [FIX] SelectCreatePopup: append search view at the right position in the DOM Old error had added the list and the search at the same place of the popup, leading to strange interactions as the search view is floated to the right: in Firefox the search view would be hidden behind the list (completely), in Chrome the search view would be visible but "overlaid" with a transparent section of the list, and (tentative) clicks on the search view would have no effect as they'd actually be done on and in the list view. bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771 --- addons/web/static/src/js/view_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 9588ad757a6..bc171ef1d6e 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -4559,7 +4559,7 @@ instance.web.form.SelectCreatePopup = instance.web.form.AbstractFormPopup.extend }); }); }); - this.searchview.appendTo($(".oe_popup_list", self.$el)); + this.searchview.appendTo($(".oe_popup_search", self.$el)); }, do_search: function(domains, contexts, groupbys) { var self = this;