X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ab3a2987b2eaca2555a206ac8d4f73903aa9870f..15376df0aa6df3484cd942b4be2207b94172c502:/src/editor/modules/rng/rng.js?ds=inline diff --git a/src/editor/modules/rng/rng.js b/src/editor/modules/rng/rng.js index 3274067..8fb27ed 100644 --- a/src/editor/modules/rng/rng.js +++ b/src/editor/modules/rng/rng.js @@ -84,7 +84,7 @@ return function(sandbox) { documentSummary.init(sandbox.getConfig().documentSummaryView, wlxmlDocument); documentSummary.render(); documentSummary.setDraftField(usingDraft ? (draftTimestamp || '???') : '-'); - views.currentNodePaneLayout.appendView(documentSummary.dom); + sandbox.getModule('mainBar').setSummaryView(documentSummary.dom); sandbox.getModule('mainBar').setCommandEnabled('drop-draft', usingDraft); sandbox.getModule('mainBar').setCommandEnabled('save', usingDraft);