Remove unnecessary button from Trial Info modal

This commit is contained in:
Erik Ziegler 2016-11-15 17:12:47 +01:00
parent 7a7bf22f54
commit 8a24c22647
2 changed files with 0 additions and 20 deletions

View File

@ -29,15 +29,6 @@
</div>
</div>
</div>
<br/>
<div class="row">
<div class="col-md-12">
<h4>Additional Options</h4>
<a type="button" class="btn btn-danger clearAllStudyTimepointAssociations">
<i class="fa fa-trash"></i> Clear All Study/Timepoint Associations
</a>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>

View File

@ -48,16 +48,5 @@ Template.optionsModal.events({
selected: isChecked
}
});
},
/**
* When the Clear Study/Timepoint Associations button is clicked, we
* send a call to the server to erase all entries in the Timepoints Collection.
*/
'click a.clearAllStudyTimepointAssociations': function() {
Meteor.call('clearAllTimepoints', function(error) {
if (error) {
OHIF.log.warn(error);
}
});
}
});