From ddc48963519f2ef5a2173f9e541d922133ab865e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 2 Dec 2013 17:58:45 -0500 Subject: [PATCH] Make sure we raise the proper external event when clicking on elements --- static/js/graphing.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/js/graphing.js b/static/js/graphing.js index b276fa211..0a141c182 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -1422,7 +1422,14 @@ LogUsageChart.prototype.handleElementClicked_ = function(e) { disabled.push(this.data_[i].key != key); } + var allowed = {}; + allowed[kind] = true; + this.chart_.dispatch.changeState({ 'disabled': disabled }); + $(this).trigger({ + 'type': 'filteringChanged', + 'allowed': allowed + }); };