Fix Viewer opening bugs in OHIF Viewer (OHIF-49)

This commit is contained in:
Erik Ziegler committed 2016-08-04 10:42:34 +02:00
1 parent 1a264f81e5
commit afeb0d82fb
21 files changed
+72 -87

No files matched your search

-10
View File
@@ -3,16 +3,6 @@ Session.setDefault('ViewerData', {});
// verifyEmail controls whether emailVerification template will be rendered or not
var verifyEmail = Meteor.settings && Meteor.settings.public && Meteor.settings.public.verifyEmail || false;
// Re-add any tab data saved in the Session
Object.keys(ViewerData).forEach(function(contentId) {
var tabData = ViewerData[contentId];
var data = {
title: tabData.title,
contentid: tabData.contentid
};
WorklistTabs.insert(data);
});
Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'layout'