Merge branch 'studyDate'

This commit is contained in:
Erik Ziegler committed 2015-11-17 18:36:48 +01:00
commit 7174dfe73f
17 files changed
+146 -44

No files matched your search

@@ -2,6 +2,7 @@
<div id="viewer">
{{ >lesionLocationDialog }}
{{ >nonTargetLesionDialog}}
{{ >studyDateList}}
{{ >hidingPanel }}
<div id="viewportAndLesionTable">
+6 -1
View File
@@ -83,7 +83,12 @@ Template.viewer.onCreated(function() {
Session.set('activeViewport', ViewerData[contentId].activeViewport || 0);
Session.set("studies", this.data.studies);
// Update the ViewerStudies collection with the loaded studies
ViewerStudies = new Meteor.Collection(null);
this.data.studies.forEach(function(study) {
study.selected = true;
ViewerStudies.insert(study);
});
OHIF.viewer.updateImageSynchronizer = new cornerstoneTools.Synchronizer("CornerstoneNewImage", cornerstoneTools.updateImageSynchronizer);
});