And here's the other half of the previous change to the demo sequencer webapp...

This commit is contained in:
Dannon Baker
2011-01-19 09:44:53 -05:00
parent c3ff4839d7
commit 12f88692fe
+5 -1
View File
@@ -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
}
</script>
%endif