Bug fixes for worklist and OHIF viewer. Trying to get tabbed worklist/viewer working

This commit is contained in:
Erik Ziegler committed 2015-10-13 21:18:40 +02:00
1 parent a538b5f07d
commit 9803046f2d
8 files changed
+41 -52

No files matched your search

@@ -1,5 +1,18 @@
Template.worklistStudy.events({
'click': function (){
Router.go('viewer', {_id: this.studyInstanceUid});
Session.set('openNewTabEvent', self);
var studyInstanceUid = this.studyInstanceUid;
Meteor.call('GetStudyMetadata', studyInstanceUid, function(error, study) {
//console.log(study);
sortStudy(study);
var studies = [study];
Session.set('studies', studies);
Session.set(activeTabId, studies);
Session.set('showContentInTab', true);
self.render('viewer');
});
}
});