зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
e0ff0ffd5e
Коммит
2c72b93a3e
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче