[IMP] keeps the dropdown open when the user selects some measures in graph view (addon web_graph)

bzr revid: ged@openerp.com-20140117152413-ycktqzi51a3lhhz9
This commit is contained in:
Gery Debongnie 2014-01-17 16:24:13 +01:00
parent 9a8d395078
commit 86a18410d1
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ openerp.web_graph.Graph = openerp.web.Widget.extend(openerp.EventDispatcherMixin
measure_selection: function (event) {
event.preventDefault();
event.stopPropagation();
var measure = event.target.attributes['data-choice'].nodeValue;
this.pivot.toggle_measure(measure);
this.put_measure_checkmarks();