Commit 22aa3527 authored by marc duez's avatar marc duez

sample_set : fix href path

parent bfd32eb3
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
).select() :}} ).select() :}}
{{if row.fused_file.fused_file is not None :}} {{if row.fused_file.fused_file is not None :}}
<a class="button2" href="{{=http_origin}}+{{=defs.BROWSER_PATH}}?sample_set_id={{=request.vars["id"]}}&config={{=row.config.id}}" type="text/html" <a class="button2" href="{{=http_origin}}{{=defs.BROWSER_PATH}}?sample_set_id={{=request.vars["id"]}}&config={{=row.config.id}}" type="text/html"
onclick="event.preventDefault() onclick="event.preventDefault()
if( event.which == 2 ) { window.open(this.href) } if( event.which == 2 ) { window.open(this.href) }
else { myUrl.loadUrl(db, { 'sample_set_id' : '{{=request.vars["id"]}}' , 'config' : {{=row.config.id}} }, '{{=info["filename"]}}' ) }" > 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