diff --git a/templates/webapps/demo_sequencer/index.mako b/templates/webapps/demo_sequencer/index.mako index d27e1221c74..e206acc68b0 100644 --- a/templates/webapps/demo_sequencer/index.mako +++ b/templates/webapps/demo_sequencer/index.mako @@ -8,7 +8,11 @@ top.location.href = "${h.url_for( controller='common', action='index', redirect_action=redirect_action, JobId=JobId, sample_id=sample_id )}"; } function set_redirect(){ - setTimeout("redirect()", 2000) + %if redirect_delay: + setTimeout("redirect()", ${int(redirect_delay)*1000}); + %else: + setTimeout("redirect()", 2000); + %endif } %endif