From 2790bb4492cdca3b1aed4fb16989b165d6ad45d4 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 27 Nov 2015 15:07:41 +0100 Subject: [PATCH] [IMP] web: minor css fix SelectCreateDialog related to opw-657349 --- addons/web/static/src/js/views/form_common.js | 2 +- addons/web/static/src/less/modal.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/views/form_common.js b/addons/web/static/src/js/views/form_common.js index aaa39b225f6..80342f42ee8 100644 --- a/addons/web/static/src/js/views/form_common.js +++ b/addons/web/static/src/js/views/form_common.js @@ -992,8 +992,8 @@ var SelectCreateDialog = ViewDialog.extend({ this.searchview.destroy(); } var $header = $('
').addClass('o_modal_header').appendTo(this.$el); - var $buttons = $('
').addClass('o_search_options').appendTo($header); var $pager = $('
').addClass('o_pager').appendTo($header); + var $buttons = $('
').addClass('o_search_options').appendTo($header); this.searchview = new SearchView(this, this.dataset, false, search_defaults, {$buttons: $buttons}); this.searchview.on('search_data', self, function(domains, contexts, groupbys) { if (self.initial_ids) { diff --git a/addons/web/static/src/less/modal.less b/addons/web/static/src/less/modal.less index 6635dbaf1f5..9ff0453c4dd 100644 --- a/addons/web/static/src/less/modal.less +++ b/addons/web/static/src/less/modal.less @@ -10,6 +10,7 @@ .o_modal_header { .o-webclient-padding(@top: 10px, @bottom: 10px); + .clearfix(); .o_search_options { display: inline-block;