Ensure that we provide the source
parameter when dispatching the button click events in SecondaryToolbar
(PR 7313 follow-up)
This commit is contained in:
parent
6e126b31dc
commit
be8a69a52c
@ -127,7 +127,7 @@ var SecondaryToolbar = (function SecondaryToolbarClosure() {
|
||||
|
||||
element.addEventListener('click', function (eventName, close) {
|
||||
if (eventName !== null) {
|
||||
this.eventBus.dispatch(eventName);
|
||||
this.eventBus.dispatch(eventName, { source: this, });
|
||||
}
|
||||
if (close) {
|
||||
this.close();
|
||||
|
Loading…
Reference in New Issue
Block a user