remove code that may be infringing on Tamabo IP

This commit is contained in:
radicalrob 2016-05-07 16:34:44 -04:00 committed by Erik Ziegler
parent 2e52d9e3c1
commit 9d83c9d534
3 changed files with 8 additions and 6 deletions

View File

@ -44,6 +44,7 @@ function setLesionNumberCallback(measurementData, eventData, doneCallback) {
// If there already exists a lesion with this specific lesion number,
// related to the chosen location.
function getLesionLocationCallback(measurementData, eventData) {
return;
Template.lesionLocationDialog.measurementData = measurementData;
// Reset the doneCallback saved in the template so we don't call the change event's done callback
@ -110,6 +111,7 @@ function getLesionLocationCallback(measurementData, eventData) {
}
changeLesionLocationCallback = function(measurementData, eventData, doneCallback) {
return;
Template.lesionLocationDialog.measurementData = measurementData;
Template.lesionLocationDialog.doneCallback = doneCallback;

View File

@ -18,12 +18,12 @@ Template.lesionTable.helpers({
});
Template.lesionTable.events({
'click table#tblLesion tbody tr': function(e, template) {
// 'click table#tblLesion tbody tr': function(e, template) {
// Retrieve the lesion id from the DOM data for this row
var measurementId = $(e.currentTarget).data('measurementid');
// var measurementId = $(e.currentTarget).data('measurementid');
activateLesion(measurementId, template.data);
},
// activateLesion(measurementId, template.data);
//},
'mousedown div#dragbar': function(e, template) {
var pY = e.pageY;
var draggableParent = $(e.currentTarget).parent();

View File

@ -1,11 +1,11 @@
<template name="lesionTableRow">
<tr id="{{lesionNumber}}" class="lesionTableRow" data-measurementid="{{_id}}">
<td class='lesionNumber'>{{lesionNumberAbsolute}}</td>
<td class='location' tabindex="0">{{location}}</td>
<!--<td class='location' tabindex="0">{{location}}</td>-->
<td class='target'>{{#if isTarget}} Y {{else}} N {{/if}}</td>
<!--Each time point as a column-->
{{# each timepoints }}
{{> lesionTableTimepointCell}}
{{/ each }}
</tr>
</template>
</template>