|
|
|
@ -127,7 +127,7 @@ var SecondaryToolbar = (function SecondaryToolbarClosure() {
@@ -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(); |
|
|
|
|