editor: fix requirejs paths so that test will work again
[fnpeditor.git] / src / editor / modules / documentToolbar / documentToolbar.js
index b66734f..9ae5c94 100644 (file)
@@ -89,6 +89,7 @@ return function(sandbox) {
                 document.on('operationEnd', function() {
                     setContextParam('document', document);
                 });
+                setContextParam('document', document);
             }
             setContextParam('fragment', fragment);