comparison Applications/StoneWebViewer/WebApplication/app.js @ 1824:a56bf4c534ef

display stone web viewer version in info panel
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 May 2021 21:07:13 +0200
parents 5baaad557d58
children 21ccc00839f7
comparison
equal deleted inserted replaced
1823:781e9fc8925e 1824:a56bf4c534ef
399 synchronizedBrowsing: false, 399 synchronizedBrowsing: false,
400 globalConfiguration: {}, 400 globalConfiguration: {},
401 creatingArchive: false, 401 creatingArchive: false,
402 archiveJob: '', 402 archiveJob: '',
403 mouseTool: 0, 403 mouseTool: 0,
404 stoneWebViewerVersion: 'Unknown',
404 405
405 modalWarning: false, 406 modalWarning: false,
406 modalNotDiagnostic: false, 407 modalNotDiagnostic: false,
407 modalPreferences: false, 408 modalPreferences: false,
408 409
1085 stone.AddHttpHeader('Authorization', 'Bearer ' + token); 1086 stone.AddHttpHeader('Authorization', 'Bearer ' + token);
1086 } 1087 }
1087 1088
1088 console.warn('Stone properly initialized'); 1089 console.warn('Stone properly initialized');
1089 1090
1091 stone.LoadStoneWebViewerVersion();
1092 app.stoneWebViewerVersion = stone.GetStringBuffer();
1093
1090 app.SetCombinedToolActions(); 1094 app.SetCombinedToolActions();
1091 1095
1092 var selectedStudies = getParameterFromUrl('selectedStudies'); 1096 var selectedStudies = getParameterFromUrl('selectedStudies');
1093 var patient = getParameterFromUrl('patient'); 1097 var patient = getParameterFromUrl('patient');
1094 var study = getParameterFromUrl('study'); 1098 var study = getParameterFromUrl('study');