Fix duplicate lesion bug LT-110
This commit is contained in:
1 parent
d912c7a269
commit
e4547f121d
9 files changed
+29
-31
No files matched your search
@@ -43,7 +43,7 @@ Template.confirmDeleteDialog.events({
|
||||
|
||||
closeHandler();
|
||||
},
|
||||
'keypress #confirmDeleteDialog': function(e) {
|
||||
'keydown #confirmDeleteDialog': function(e) {
|
||||
if (e.which === keys.ESC) {
|
||||
closeHandler();
|
||||
}
|
||||
|
||||
+1
-1
@@ -246,7 +246,7 @@ Template.lesionLocationDialog.events({
|
||||
var dialog = Template.lesionLocationDialog.dialog;
|
||||
closeHandler(dialog);
|
||||
},
|
||||
'keypress #lesionLocationDialog, keypress #lesionLocationRelabelDialog': function(e) {
|
||||
'keydown #lesionLocationDialog, keydown #lesionLocationRelabelDialog': function(e) {
|
||||
var dialog = Template.lesionLocationDialog.dialog;
|
||||
|
||||
// If Enter is pressed, close the dialog
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template name="lesionTableRow">
|
||||
<tr id="{{lesionNumber}}" class="lesionTableRow" data-measurementid="{{_id}}">
|
||||
<td class='lesionNumber'>{{lesionNumber}}</td>
|
||||
<td class='lesionNumber'>{{lesionNumberAbsolute}}</td>
|
||||
<td class='location' tabindex="0">{{location}}</td>
|
||||
<td class='target'>{{#if isTarget}} Y {{else}} N {{/if}}</td>
|
||||
<!--Each time point as a column-->
|
||||
|
||||
+3
-6
@@ -19,14 +19,11 @@ Template.lesionTableTimepointCell.helpers({
|
||||
var data = lesionData.timepoints[this.timepointID];
|
||||
|
||||
if (lesionData.isTarget === true) {
|
||||
// TODO = Add short axis data here
|
||||
//return 'LD: ' + data.longestDiameter;
|
||||
if(data.shortestDiameter) {
|
||||
return data.longestDiameter +" x "+ data.shortestDiameter;
|
||||
|
||||
if (data.shortestDiameter) {
|
||||
return data.longestDiameter + " x " + data.shortestDiameter;
|
||||
}
|
||||
return data.longestDiameter;
|
||||
|
||||
return data.longestDiameter;
|
||||
} else {
|
||||
return data.response;
|
||||
}
|
||||
|
||||
+3
-3
@@ -9,7 +9,7 @@
|
||||
<select id="selectNonTargetLesionLocation">
|
||||
<option value="-1"></option>
|
||||
{{ #each lesionLocations}}
|
||||
<option value='{{_id}}'>{{location}}</option>
|
||||
<option value={{_id}}>{{location}}</option>
|
||||
{{ /each}}
|
||||
</select>
|
||||
</div>
|
||||
@@ -19,9 +19,9 @@
|
||||
<option value="-1"></option>
|
||||
{{ #each locationResponses}}
|
||||
{{ #if code }}
|
||||
<option value='{{code}}'>{{code}} - {{text}}</option>
|
||||
<option value={{code}}>{{code}} - {{text}}</option>
|
||||
{{ else }}
|
||||
<option value={{text}}}>{{text}}</option>
|
||||
<option value={{text}}>{{text}}</option>
|
||||
{{ /if }}
|
||||
{{ /each}}
|
||||
</select>
|
||||
|
||||
+1
-1
@@ -308,7 +308,7 @@ Template.nonTargetLesionDialog.events({
|
||||
var dialog = Template.nonTargetLesionDialog.dialog;
|
||||
closeHandler(dialog);
|
||||
},
|
||||
'keypress #lesionLocationDialog, keypress #lesionLocationRelabelDialog': function(e) {
|
||||
'keydown #lesionLocationDialog, keydown #lesionLocationRelabelDialog': function(e) {
|
||||
var dialog = Template.nonTargetLesionDialog.dialog;
|
||||
|
||||
// If Enter is pressed, close the dialog
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ Template.nonTargetResponseDialog.events({
|
||||
var dialog = Template.nonTargetResponseDialog.dialog;
|
||||
closeHandler(dialog);
|
||||
},
|
||||
'keypress #nonTargetResponseDialog': function(e) {
|
||||
'keydown #nonTargetResponseDialog': function(e) {
|
||||
var dialog = Template.nonTargetResponseDialog.dialog;
|
||||
|
||||
// If Enter is pressed, close the dialog
|
||||
|
||||
Reference in new issue
Block a user