changeset 90:3a6a279a8ff9

fix preview while creating deep links
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 30 Jul 2026 16:10:10 +0200
parents ef6377c0a926
children c98502a806f2
files WebApplication/deep.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/WebApplication/deep.js	Thu Jul 30 14:30:15 2026 +0200
+++ b/WebApplication/deep.js	Thu Jul 30 16:10:10 2026 +0200
@@ -49,10 +49,10 @@
       params.append('sop-instance-uid', resource['sop-instance-uid']);
       params.append('study-instance-uid', resource['study-instance-uid']);
       params.append('viewer', this.selected_viewer);
+      params.append('title', resource.title);
 
       if (full) {
         // Add the additional parameters needed to create the deep link
-        params.append('title', resource.title);
         params.append('link-type', 'viewer');
 
         // Security information that is managed by Moodle