X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/58fc71a8c51ee9e8df92827ed380497d2b131841..b26c53066ad699546ffcb888c7c9d779a51595c6:/src/editor/modules/documentToolbar/documentToolbar.js

diff --git a/src/editor/modules/documentToolbar/documentToolbar.js b/src/editor/modules/documentToolbar/documentToolbar.js
index 9ae5c94..6e3d630 100644
--- a/src/editor/modules/documentToolbar/documentToolbar.js
+++ b/src/editor/modules/documentToolbar/documentToolbar.js
@@ -27,7 +27,7 @@ return function(sandbox) {
             });
 
             group.append(view.dom);
-            view.on('actionExecuted', function(action, ret) {
+            action.on('actionExecuted', function(ret) {
                 sandbox.publish('actionExecuted', action, ret);
             });