зеркало из https://github.com/mozilla/pjs.git
Bug 175838 Reopening a bug does not clear resolution, nor does selecting 'clear resolution'
patch by jeff.hedlund@matrixsi.com 2xr=gerv
This commit is contained in:
Родитель
3d64a566a5
Коммит
8b9edf5a06
|
@ -519,7 +519,8 @@ sub DoConfirm {
|
|||
|
||||
sub ChangeStatus {
|
||||
my ($str) = (@_);
|
||||
if ($str ne $::FORM{'dontchange'}) {
|
||||
if (!$::FORM{'dontchange'} ||
|
||||
($str ne $::FORM{'dontchange'})) {
|
||||
DoComma();
|
||||
if ($::FORM{knob} eq 'reopen') {
|
||||
# When reopening, we need to check whether the bug was ever
|
||||
|
@ -571,7 +572,8 @@ sub ChangeStatus {
|
|||
|
||||
sub ChangeResolution {
|
||||
my ($str) = (@_);
|
||||
if ($str ne $::FORM{'dontchange'}) {
|
||||
if (!$::FORM{'dontchange'} ||
|
||||
($str ne $::FORM{'dontchange'})) {
|
||||
DoComma();
|
||||
$::query .= "resolution = " . SqlQuote($str);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче