# HG changeset patch # User Sebastien Jodogne # Date 1561065205 -7200 # Node ID e694970cd263dcabc6d063f2fdc1dbea8d76bf25 # Parent fc21bc548a4633a68b6df0e42a861afdcb7c79c1 fix diff -r fc21bc548a46 -r e694970cd263 WebApplication/app.js --- a/WebApplication/app.js Thu Jun 20 22:21:25 2019 +0200 +++ b/WebApplication/app.js Thu Jun 20 23:13:25 2019 +0200 @@ -254,7 +254,8 @@ .then(response => { app.jobLevel = 'study'; app.jobId = response.data.ID; - app.jobUri = app.orthancExplorerUri + '/' + response.data.Path; + // The "replace()" below removes the possible trailing slash + app.jobUri = app.orthancExplorerUri.replace(/\/$/, '') + '/' + response.data.Path; app.$refs['retrieve-job'].show(); app.RefreshJobDetails(); });