Skip to content

Commit

Permalink
Simplified path building in fake PACS page.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Nov 19, 2015
1 parent 4c1af15 commit 615ac23
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/pacs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@
}
function getDwvBaseUrl(flag)
{
if( flag === "dwvmobile" ) return "../../viewers/mobile/index.html";
else if( flag === "dwvstatic" ) return "../../viewers/static/index.html";
else if( flag === "dwvsimple" ) return "../../viewers/simple/index.html";
else if( flag === "dwvsimplistic" ) return "../../viewers/simplistic/index.html";
var path = "../../viewers";
if( flag === "dwvmobile" ) path += "/mobile";
else if( flag === "dwvstatic" ) path += "/static";
else if( flag === "dwvsimple" ) path += "/simple";
else if( flag === "dwvsimplistic" ) path += "/simplistic";
path += "/index.html";
return path;
}
function getDwvUrl(uri)
{
Expand Down

0 comments on commit 615ac23

Please sign in to comment.