X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/71b7ba4d1d17adc39165914016fa892671cc4316..ce4cc95ff037cea6359b02b3bf14c83c4f8fdc4e:/src/editor/modules/rng/rng.js?ds=sidebyside diff --git a/src/editor/modules/rng/rng.js b/src/editor/modules/rng/rng.js index 6b10293..59652a7 100644 --- a/src/editor/modules/rng/rng.js +++ b/src/editor/modules/rng/rng.js @@ -190,7 +190,7 @@ return function(sandbox) { eventHandlers.documentCanvas = { ready: function() { - sandbox.getModule('documentCanvas').setDocument2(sandbox.getModule('data').getDocument2()); + sandbox.getModule('documentCanvas').setDocument(sandbox.getModule('data').getDocument()); views.visualEditing.setView('leftColumn', sandbox.getModule('documentCanvas').getView()); }, documentSet: function() {