From 12f88692fee96abcb867cf708dadcfa4e527ac40 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 19 Jan 2011 09:44:53 -0500 Subject: [PATCH] And here's the other half of the previous change to the demo sequencer webapp... --- templates/webapps/demo_sequencer/index.mako | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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