X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/c8101069e6de3c7eeb44e97e391c9fa4b9db0872..ab1445aee3c066a08d0602dd8b2e6996646d986f:/src/editor/modules/documentCanvas/documentCanvas.js diff --git a/src/editor/modules/documentCanvas/documentCanvas.js b/src/editor/modules/documentCanvas/documentCanvas.js index a98fdb4..a440bb9 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.js +++ b/src/editor/modules/documentCanvas/documentCanvas.js @@ -22,7 +22,7 @@ return function(sandbox) { var canvas = canvas3.fromXMLDocument(null, canvasElements, { user: sandbox.getConfig().user - }); + }, sandbox); var canvasWrapper = $(template); var shownAlready = false; var scrollbarPosition = 0,