Made lesion removal confirmation dialogs different for timepoints and complete measurments
This commit is contained in:
1 parent
a1618438d8
commit
a9266608d2
4 files changed
+27
-5
No files matched your search
+7
-1
@@ -238,12 +238,18 @@ Template.lesionLocationDialog.events({
|
||||
var doneCallback = Template.lesionLocationDialog.doneCallback;
|
||||
var dialog = Template.lesionLocationDialog.dialog;
|
||||
|
||||
var options = {
|
||||
keyPressAllowed: false,
|
||||
title: 'Remove measurement?',
|
||||
text: 'Are you sure you would like to remove the entire measurement?'
|
||||
};
|
||||
|
||||
showConfirmDialog(function() {
|
||||
if (doneCallback && typeof doneCallback === 'function') {
|
||||
var deleteTool = true;
|
||||
doneCallback(measurementData, deleteTool);
|
||||
}
|
||||
});
|
||||
}, options);
|
||||
|
||||
closeHandler(dialog);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user