# HG changeset patch # User Alain Mazy # Date 1688030471 -7200 # Node ID 4087511e8eefe9bf27067f4c8263b83bdc3a95a1 # Parent 1096d92febfc28263a79a04ec036ea0b1eeb1fc5 fix diff -r 1096d92febfc -r 4087511e8eef Applications/StoneWebViewer/WebApplication/app.js --- a/Applications/StoneWebViewer/WebApplication/app.js Thu Jun 29 11:12:16 2023 +0200 +++ b/Applications/StoneWebViewer/WebApplication/app.js Thu Jun 29 11:21:11 2023 +0200 @@ -1401,7 +1401,7 @@ that.UpdateIsSeriesComplete(studyInstanceUid, seriesInstanceUid); // Automatically open the first selected series to be loaded (new in Stone Web viewer 2.5) - if (that.isFirstSeries && that.selectedStudies.includes(studyInstanceUid)) { + if (that.isFirstSeries && (that.selectedStudies.length == 0 || that.selectedStudies.includes(studyInstanceUid))) { that.SetViewportSeriesInstanceUid(1, seriesInstanceUid); that.isFirstSeries = false; }