LT-115: Set CR/UN/EX buttons as enabled for follow-up timepoints
This commit is contained in:
1 parent
7cebd3c91c
commit
cd4a9a51da
7 files changed
+49
-24
No files matched your search
@@ -121,6 +121,9 @@ Template.viewer.onCreated(function() {
|
||||
|
||||
if (subscriptionsReady) {
|
||||
|
||||
// Set buttons as enabled/disabled when Timepoints collection is ready
|
||||
timepointAutoCheck(dataContext);
|
||||
|
||||
TrialResponseCriteria.validateAllDelayed();
|
||||
|
||||
ViewerStudies.find().observe({
|
||||
@@ -261,15 +264,6 @@ Template.viewer.onCreated(function() {
|
||||
TrialResponseCriteria.validateAll();
|
||||
}
|
||||
});
|
||||
|
||||
// Set active tool for timepoint
|
||||
if (dataContext && dataContext.timepointIds) {
|
||||
dataContext.timepointIds.forEach(function(timepointId) {
|
||||
var timepoint = Timepoints.findOne({timepointId: timepointId});
|
||||
setTimepointActiveTool(timepoint);
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user