Fix prefetch bug in imageViewerViewports
This commit is contained in:
parent
b49c36493e
commit
1d025623e5
@ -294,6 +294,10 @@ function loadSeriesIntoViewport(data) {
|
|||||||
OHIF.viewer.updateImageSynchronizer.add(element);
|
OHIF.viewer.updateImageSynchronizer.add(element);
|
||||||
displayReferenceLines(element);
|
displayReferenceLines(element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (viewportIndex === Session.get('activeViewport')) {
|
||||||
|
enablePrefetchOnElement(element);
|
||||||
|
}
|
||||||
}, function(error) {
|
}, function(error) {
|
||||||
// If something goes wrong while loading the image, fire the error handler.
|
// If something goes wrong while loading the image, fire the error handler.
|
||||||
errorLoadingHandler(element, imageId, error);
|
errorLoadingHandler(element, imageId, error);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user