summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-06-21 13:10:57 +0000
committerAaron Bohy <aab@odoo.com>2019-06-21 14:11:58 +0000
commit17f5fa8a3b34e3da87f3d35eb19c51911e525645 (patch)
treeb688d3837a90247754cc5afe3f76219333e70ad2 /addons/web/static/src
parenta5b6946940eeb1046fee6024aaef180bb1bcee4a (diff)
[FIX] web: fix layout when banner and search_panel
Before this rev., the layout was broken when a search_panel was used alongside the onboarding banner in a kanban view. Note that this usecase doesn't exist in standard. Closes #31986 closes odoo/odoo#34303 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/views/abstract_controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/abstract_controller.js b/addons/web/static/src/js/views/abstract_controller.js
index 2a27ad03e92..d8cc6baa8f5 100644
--- a/addons/web/static/src/js/views/abstract_controller.js
+++ b/addons/web/static/src/js/views/abstract_controller.js
@@ -325,7 +325,7 @@ var AbstractController = mvc.Controller.extend(ActionMixin, {
js.remove();
});
return Promise.all(defs).then(function () {
- $banner.prependTo(self.$('> .o_content'));
+ $banner.insertBefore(self.$('> .o_content'));
self._$banner = $banner;
});
});