Study association issue

When you cancel the association and do it again the selected studies
will be associated twice.
This commit is contained in:
Leonardo Campos 2017-02-16 14:48:44 -02:00
parent 7c37e2070a
commit 7af333c888

View File

@ -14,7 +14,7 @@ Template.dialogStudyAssociation.onCreated(() => {
const Timepoints = StudyList.timepointApi.timepoints;
// Find the rows of the study association table
const $tableRows = $('#studyAssociationTable table tbody tr');
const $tableRows = instance.$('#studyAssociationTable table tbody tr');
// Create an empty object to group studies into
const studies = {};