Fix for issue #210, redirect to the proper path when the tool executed form is instructed to redirect.

This commit is contained in:
Nate Coraor
2009-11-11 14:41:32 -05:00
parent 0a51932168
commit c3e2d04248
+3 -3
View File
@@ -28,7 +28,7 @@
}
function refresh() {
top.location.href = '${request.base}';
top.location.href = '${h.url_for( "/" )}';
}
</script>
@@ -53,11 +53,11 @@ succesfully or 'error' if problems were encountered.
</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>
</html>