- _.each(['sourceEditor', 'documentCanvas', 'documentToolbar', 'nodePane', 'metadataEditor', 'nodeFamilyTree', 'nodeBreadCrumbs', 'mainBar', 'indicator', 'documentHistory', 'diffViewer'], function(moduleName) {
+ documentSummary.init(sandbox.getConfig().documentSummaryView);
+ documentSummary.render(sandbox.getModule('data').getDocumentProperties());
+ documentSummary.setDraftField(usingDraft ? (draftTimestamp || '???') : '-');
+ views.currentNodePaneLayout.appendView(documentSummary.dom);
+
+ sandbox.getModule('mainBar').setCommandEnabled('drop-draft', usingDraft);
+ sandbox.getModule('mainBar').setCommandEnabled('save', usingDraft);
+
+ _.each(['sourceEditor', 'documentCanvas', 'documentToolbar', 'metadataEditor', 'nodeBreadCrumbs', 'mainBar', 'indicator', 'documentHistory', 'diffViewer'], function(moduleName) {