Make sure we raise the proper external event when clicking on elements
This commit is contained in:
parent
ba03b7ff04
commit
ddc4896351
1 changed files with 7 additions and 0 deletions
|
@ -1422,7 +1422,14 @@ LogUsageChart.prototype.handleElementClicked_ = function(e) {
|
||||||
disabled.push(this.data_[i].key != key);
|
disabled.push(this.data_[i].key != key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var allowed = {};
|
||||||
|
allowed[kind] = true;
|
||||||
|
|
||||||
this.chart_.dispatch.changeState({ 'disabled': disabled });
|
this.chart_.dispatch.changeState({ 'disabled': disabled });
|
||||||
|
$(this).trigger({
|
||||||
|
'type': 'filteringChanged',
|
||||||
|
'allowed': allowed
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue