Commit 81d00ab9 authored by Ryan Herbert's avatar Ryan Herbert Committed by marc duez

models/SampleSet.py adjust config url

for an absolulte URL
parent b8e3b4ad
......@@ -50,7 +50,7 @@ class SampleSet(object):
if conf['fused_file'] is not None :
configs.append(
str(A(conf['name'],
_href="index.html?sample_set_id=%d&config=%d" % (data['sample_set_id'], conf['id']), _type="text/html",
_href="/browser/index.html?sample_set_id=%d&config=%d" % (data['sample_set_id'], conf['id']), _type="text/html",
_onclick="event.preventDefault();event.stopPropagation();if( event.which == 2 ) { window.open(this.href); } else { myUrl.loadUrl(db, { 'sample_set_id' : '%d', 'config' : %d }, '%s' ); }" % (data['sample_set_id'], conf['id'], filename))))
else:
configs.append(conf['name'])
......
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