- _.each(['sourceEditor', 'documentCanvas', 'documentToolbar', 'nodePane', 'metadataEditor', 'nodeFamilyTree', 'nodeBreadCrumbs', 'mainBar', 'indicator', 'documentHistory', 'diffViewer'], function(moduleName) {
+ documentSummary.init(sandbox.getConfig().documentSummaryView, wlxmlDocument);
+ documentSummary.render();
+ documentSummary.setDraftField(usingDraft ? (draftTimestamp || '???') : '-');
+ sandbox.getModule('mainBar').setSummaryView(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', 'statusBar'], function(moduleName) {