Make sure we raise the proper external event when clicking on elements

This commit is contained in:
Joseph Schorr 2013-12-02 17:58:45 -05:00
parent ba03b7ff04
commit ddc4896351

View file

@ -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
});
};