[hg] galaxy 3012: Fix for issue #210, redirect to the proper pat...
details: http://www.bx.psu.edu/hg/galaxy/rev/dc9b5a47754c changeset: 3012:dc9b5a47754c user: Nate Coraor <nate@bx.psu.edu> date: Wed Nov 11 14:41:32 2009 -0500 description: Fix for issue #210, redirect to the proper path when the tool executed form is instructed to redirect. diffstat: templates/tool_executed.mako | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (27 lines): diff -r d36d08cc4abb -r dc9b5a47754c templates/tool_executed.mako --- a/templates/tool_executed.mako Wed Nov 11 13:53:48 2009 -0500 +++ b/templates/tool_executed.mako Wed Nov 11 14:41:32 2009 -0500 @@ -28,7 +28,7 @@ } function refresh() { - top.location.href = '${request.base}'; + top.location.href = '${h.url_for( "/" )}'; } </script> @@ -53,11 +53,11 @@ </p> %if tool.options.refresh: -<p id="refresh_message" style="display: none;">You are now being redirected back to <a href="${request.base}">Galaxy</a></div> +<p id="refresh_message" style="display: none;">You are now being redirected back to <a href="${h.url_for( '/' )}">Galaxy</a></div> %endif </div> </body> -</html> \ No newline at end of file +</html>
participants (1)
-
Greg Von Kuster