Fixing viewports initial sorting issue

This commit is contained in:
Bruno Alves de Faria committed 2016-08-22 14:54:31 -03:00
1 parent 5c473697d9
commit 2cc06e454a
6 files changed
+71 -37

No files matched your search

@@ -379,7 +379,7 @@ function loadDisplaySetIntoViewport(data, templateData) {
function setDisplaySet(data, displaySetInstanceUid, templateData) {
var study = data.study;
if (!study || !study.displaySets) {
throw "Study does not exist or has no display sets";
throw 'Study does not exist or has no display sets';
return;
}
@@ -394,7 +394,7 @@ function setDisplaySet(data, displaySetInstanceUid, templateData) {
// If we didn't find anything, stop here
if (!data.displaySet) {
throw "Display set not found in specified study!";
throw 'Display set not found in specified study!';
return;
}