Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit f5b89da7 authored by Ryan Herbert's avatar Ryan Herbert Committed by marc duez
Browse files

sample_set/index.html use absolute set url

including the preceding slash allows us to prevent the browser from
preserving the last positional parameter. So we need to include the
"browser" part of the URL since it will be removed when using a
preceding slash in the URL.
parent 55255a18
......@@ -206,7 +206,7 @@
).select() :}}
{{if row.fused_file.fused_file is not None :}}
<a class="button2" href="index.html?sample_set_id={{=request.vars["id"]}}&config={{=row.config.id}}" type="text/html"
<a class="button2" href="/browser/index.html?sample_set_id={{=request.vars["id"]}}&config={{=row.config.id}}" type="text/html"
onclick="event.preventDefault()
if( event.which == 2 ) { window.open(this.href) }
else { myUrl.loadUrl(db, { 'sample_set_id' : '{{=request.vars["id"]}}' , 'config' : {{=row.config.id}} }, '{{=info["filename"]}}' ) }" >
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment