[FIX] web: Dashboards error

Steps to reproduce:
Go to any pivot view (for example Sales > Report > Sales) and add
the current view to your personnal dashboard (in the search view: Favourites > Add to my Dashboard)
Go to the dashboard, traceback because $buttons was not defined.

opw:707296
This commit is contained in:
Goffin Simon
2017-02-10 11:01:03 +01:00
parent 0556bc6d9e
commit 2f328d3447
@@ -57,6 +57,7 @@ var PivotView = View.extend({
this.headers = {};
this.cells = {};
this.has_data = false;
this.$buttons = $();
this.last_header_selected = null;
this.sorted_column = {};