Bug 85824 - Force checkers didnt work on bug creation
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1370 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
e8957447de
commit
06f0b086ab
|
@ -112,6 +112,7 @@ sub show_checker_errors
|
|||
return if !$bugs || !grep { @{$_->{failed_checkers} || []} } @$bugs;
|
||||
my $fatal = 1 && (grep { grep { $_->is_fatal } @{$_->{failed_checkers} || []} } @$bugs);
|
||||
Bugzilla->template->process("verify-checkers.html.tmpl", {
|
||||
script_name => Bugzilla->cgi->script_name,
|
||||
failed => $bugs,
|
||||
allow_commit => !$fatal,
|
||||
exclude_params_re => '^force_checkers$',
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
[% IF allow_commit %]
|
||||
|
||||
<form action="process_bug.cgi" method="post" style="margin-top: 1em">
|
||||
<form action="[% script_name %]" method="post" style="margin-top: 1em">
|
||||
[% PROCESS "global/hidden-fields.html.tmpl" exclude = exclude_params_re %]
|
||||
<input type="hidden" name="force_checkers" value="1" />
|
||||
<input type="submit" value="Я знаю, что делаю! Внести изменения!" id="forcesubmit" style="color: gray" disabled="disabled" /> <span id="countdown_span"></span>
|
||||
|
|
Loading…
Reference in New Issue