[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-06 16:39:59 +01:00
parent 483324393e
commit 93448bb2b8
@@ -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 = {};