Commit cc5e5f97 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 0b21ab68
......@@ -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"]}}' ) }" >
......
Supports Markdown
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