Work towards tabbed panels. Still very broken

This commit is contained in:
Erik Ziegler committed 2015-10-15 15:05:41 +02:00
1 parent 9803046f2d
commit 7217b7c67d
41 files changed
+468 -369

No files matched your search

@@ -1,18 +1,5 @@
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');
});
}
});