comparison Applications/StoneWebViewer/WebApplication/app.js @ 1713:aec45e0b2528

configuration option "DicomWebRoot"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2020 17:09:46 +0100
parents 673c163e1b3e
children a878e807cd96
comparison
equal deleted inserted replaced
1712:fb57536fcc5f 1713:aec45e0b2528
1018 1018
1019 1019
1020 1020
1021 window.addEventListener('StoneInitialized', function() { 1021 window.addEventListener('StoneInitialized', function() {
1022 stone.Setup(Module); 1022 stone.Setup(Module);
1023 stone.SetOrthancRoot('..', true); 1023 stone.SetDicomWebRoot(app.globalConfiguration.DicomWebRoot,
1024 true /* assume "/rendered" is available in DICOMweb (could be a configuration option) */);
1024 stone.SetSoftwareRendering(localStorage.settingSoftwareRendering == '1'); 1025 stone.SetSoftwareRendering(localStorage.settingSoftwareRendering == '1');
1025 console.warn('Stone properly initialized'); 1026 console.warn('Stone properly initialized');
1026 1027
1027 app.SetCombinedToolActions(); 1028 app.SetCombinedToolActions();
1028 1029