Switched studies in Session to ViewerStudies and WorklistStudies Collections. Fixes studyDate selector issues
This commit is contained in:
1 parent
aa7982b11b
commit
1511642000
17 files changed
+82
-78
No files matched your search
@@ -17,6 +17,9 @@ var StudyMetaData = {};
|
||||
// Create the WorklistTabs collection
|
||||
WorklistTabs = new Meteor.Collection(null);
|
||||
|
||||
// Create the WorklistStudies collection
|
||||
WorklistStudies = new Meteor.Collection(null);
|
||||
|
||||
/**
|
||||
* Retrieves study metadata using a server call, and fires a callback
|
||||
* when completed.
|
||||
@@ -105,9 +108,6 @@ switchToTab = function(contentId) {
|
||||
studies: [study]
|
||||
};
|
||||
|
||||
// Update the Session variable with the loaded studies
|
||||
Session.set('studies', data.studies);
|
||||
|
||||
// Remove the loading text template that is inside the tab container by default
|
||||
container.innerHTML = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user