Adding separate save buttons for measurements

This commit is contained in:
Bruno Alves de Faria committed 2018-02-02 09:14:44 -02:00
1 parent 5dc2f8dc9c
commit 7da787c3f8
16 files changed
+72 -114

No files matched your search

@@ -94,10 +94,7 @@ Template.measurementTableRow.events({
_.each($('.imageViewerViewport'), element => cornerstone.updateImage(element));
// Notify that viewer suffered changes
const { timepointId } = measurement;
const basePath = 'viewer.studyViewer.measurements';
const timepointPath = timepointId ? `.${timepointId}` : '';
OHIF.ui.unsavedChanges.set(`${basePath}${timepointPath}.deleted`);
OHIF.measurements.triggerTimepointUnsavedChanges('deleted');
});
}
});