From c3e2d0424844f78852c1771daf0a5498e5088620 Mon Sep 17 00:00:00 2001
From: Nate Coraor
Date: Wed, 11 Nov 2009 14:41:32 -0500
Subject: [PATCH] Fix for issue #210, redirect to the proper path when the tool
executed form is instructed to redirect.
---
templates/tool_executed.mako | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/tool_executed.mako b/templates/tool_executed.mako
index fc6780448c3..df1ea4829ee 100644
--- a/templates/tool_executed.mako
+++ b/templates/tool_executed.mako
@@ -28,7 +28,7 @@
}
function refresh() {
- top.location.href = '${request.base}';
+ top.location.href = '${h.url_for( "/" )}';
}
@@ -53,11 +53,11 @@ succesfully or 'error' if problems were encountered.
%if tool.options.refresh:
-You are now being redirected back to Galaxy
+
You are now being redirected back to Galaxy
%endif