Fix duplicate lesion bug LT-110

This commit is contained in:
Erik Ziegler committed 2016-01-09 15:57:18 +01:00
1 parent d912c7a269
commit e4547f121d
9 files changed
+29 -31

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ activateLesion = function(measurementId, templateData) {
}
// Loop through the viewports and display each timepoint
$(".imageViewerViewport").each(function(viewportIndex, element) {
$(".imageViewerViewport").not('.empty').each(function(viewportIndex, element) {
// Stop if we run out of timepoints before viewports
if (viewportIndex >= timepointsWithEntries.length) {
// Update the element anyway, to remove any other highlights that are present