summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2012-01-03 17:06:50 +0100
committerChristophe Simonis <chs@openerp.com>2012-01-03 17:06:50 +0100
commit8eb5a7c75a7b3cc173091734cf4eac106653605c (patch)
tree6c7a2887b0c70b73b577142cae0cc32ec43e2ce5 /addons/web_graph/static/src/js/graph.js
parentc3a3ec8bfb716d7bdbd04d2ac2ec7a4f9f7ed5ab (diff)
[FIX] each view type do_push_state at least once
bzr revid: chs@openerp.com-20120103160650-su6zcrepd8fqpbai
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
-rw-r--r--addons/web_graph/static/src/js/graph.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index e63eec884cd..30a10eee73a 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -424,6 +424,11 @@ openerp.web_graph.GraphView = openerp.web.View.extend({
}
return self.dataset.read_slice(self.list_fields(), {}, $.proxy(self, 'schedule_chart'));
});
+ },
+
+ do_show: function() {
+ this.do_push_state({});
+ return this._super();
}
});
};