summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-10-28 14:29:44 +0100
committerGéry Debongnie <ged@odoo.com>2014-10-29 08:38:19 +0100
commit270da77dd070cb7bfa547d23485b5ca6a2d586bf (patch)
tree6e1ebcb93c2fff1c7fdd5affcfe28b72d747c61a /addons/web/static/src/js
parent5fc76ff7a9261d5805cb950a8ec106c06fad7b00 (diff)
[FIX] correct a layout issue in viewmanager (webclient)
problem was that the pager was not displayed/hidden at the correct moment Result is that when switching views, the header sometimes takes an extra line. The pager is now hidden just before creating the view
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/views.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js
index b06ed90809c..ebbcff3de06 100644
--- a/addons/web/static/src/js/views.js
+++ b/addons/web/static/src/js/views.js
@@ -715,6 +715,7 @@ instance.web.ViewManager = instance.web.Widget.extend({
controller.on('view_loaded', this, function () {
view_loaded.resolve();
});
+ this.$('.oe-view-manager-pager > span').hide();
return $.when(controller.appendTo($container), view_loaded)
.done(function () {
self.trigger("controller_inited", view.type, controller);