[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
This commit is contained in:
Xavier Morel 2012-10-19 13:08:04 +02:00
parent 3be621b9bc
commit a060b1400b
1 changed files with 1 additions and 1 deletions

View File

@ -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;