summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcolchange.cgi3
-rw-r--r--template/en/default/global/messages.html.tmpl2
2 files changed, 4 insertions, 1 deletions
diff --git a/colchange.cgi b/colchange.cgi
index e5b8e6f79..9ffda83d6 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -102,8 +102,9 @@ if (defined $::FORM{'rememberedquery'}) {
-value => $::FORM{'splitheader'},
-expires => 'Fri, 01-Jan-2038 00:00:00 GMT');
- print $cgi->redirect("buglist.cgi?$::FORM{'rememberedquery'}");
$vars->{'message'} = "change_columns";
+ $vars->{'redirect_url'} = "buglist.cgi?$::FORM{'rememberedquery'}";
+ print $cgi->redirect($vars->{'redirect_url'});
$template->process("global/message.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 750bc5cfa..57994ebb2 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -61,6 +61,8 @@
[% ELSIF message_tag == "change_columns" %]
[% title = "Change columns" %]
Resubmitting your query with new columns...
+ Click <a href="[% redirect_url FILTER html %]">here</a>
+ if the page does not automatically refresh.
[% ELSIF message_tag == "emailold_change_cancelled" %]
[% title = "Cancel Request to Change Email Address" %]