Bug 366346: On process_bug.cgi with submit_action=nothing, provide Next/Prev link - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@226247 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2082,6 +2082,9 @@ elsif ($action eq 'next_bug') {
|
||||
|
||||
# End the response page.
|
||||
unless (Bugzilla->usage_mode == USAGE_MODE_EMAIL) {
|
||||
# The user pref is 'Do nothing', so all we need is the current bug ID.
|
||||
$vars->{'bug'} = {bug_id => scalar $cgi->param('id')};
|
||||
|
||||
$template->process("bug/navigate.html.tmpl", $vars)
|
||||
|| ThrowTemplateError($template->error());
|
||||
$template->process("global/footer.html.tmpl", $vars)
|
||||
|
||||
Reference in New Issue
Block a user