From f4bcf5fa286982fe522b954827e5eac07651437b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Wed, 28 May 2014 16:44:54 +0200 Subject: [PATCH] [FIX] adjust viewtop when breadcrumbs are involved due to the way breadcrumbs work, the method adjust_view_top was not called at the correct time. This had the unfortunate consequence that the main view was on top of the header. --- addons/web/static/src/js/views.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index bd3e8636e8c..9601b31f5e8 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -115,6 +115,7 @@ instance.web.ActionManager = instance.web.Widget.extend({ item.show(subindex); this.inner_widget = item.widget; this.inner_action = item.action; + item.widget.searchview.adjust_view_top(); return true; }, clear_breadcrumbs: function() {