editor: correct for changes in actions api
[fnpeditor.git] / src / editor / modules / documentToolbar / documentToolbar.js
index 9ae5c94..6e3d630 100644 (file)
@@ -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);
             });