diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-01-27 12:15:36 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-01-27 17:25:38 +0100 |
| commit | c465605049bdce16621e4e5f57c52ebab23de813 (patch) | |
| tree | a7dd489927bba6d979ea4341881337145ce24cb1 /addons/web/static/src/js/view_graph.js | |
| parent | d22b94a699916745a15836f53e5d4ebf30a460e2 (diff) | |
[FIX] Web: views.js and view_pivot.js: sidebar
The sidebar in view pivot was not hidden when switching from view pivot
to another view. Thus, the sidebar content of view pivot was still in a
dropdown of the sidebar of the new view (when this new view has a
sidebar as well).
Also changed the way of switching between views: we now first hide the
current view before creating and displaying the new one. This prevents
weird rendering in the header as well.
Moreover, the task of hidding/showing the view's buttons is left to the
view instead of the ViewManager.
Diffstat (limited to 'addons/web/static/src/js/view_graph.js')
| -rw-r--r-- | addons/web/static/src/js/view_graph.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_graph.js b/addons/web/static/src/js/view_graph.js index dea16c3396c..385f347e307 100644 --- a/addons/web/static/src/js/view_graph.js +++ b/addons/web/static/src/js/view_graph.js @@ -26,7 +26,6 @@ instance.web.GraphView = instance.web.View.extend({ this.measures = []; this.active_measure = '__count__'; this.initial_groupbys = []; - this.$buttons = options.$buttons; this.widget = undefined; }, start: function () { |
