diff options
author | Malfurious <m@lfurio.us> | 2021-10-18 21:05:27 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-10-18 21:05:27 -0400 |
commit | 2b5ea48b854e4441cc89666d5c1d5fb30f8453ea (patch) | |
tree | 2a1c1d14f5d92ab56df8bb9049b77a48b5b43c5b /app/model/issue.php | |
parent | 00f0fcc8895df860aaec0421385b6be7c8d8f7db (diff) | |
parent | a2f522583ef35e009f1f0be7086fc511d52c2b36 (diff) | |
download | scrott-2b5ea48b854e4441cc89666d5c1d5fb30f8453ea.tar.gz scrott-2b5ea48b854e4441cc89666d5c1d5fb30f8453ea.zip |
Merge branch 'issue-view-improvements'
Some changes pertaining to issue management workflow enhancement
* issue-view-improvements:
Keep issue modal open after closing an issue
Automatically call-up issue modal for newly-opened issues
Add stage/guid information to issue modal title bar
Add additional info / controls to issueListItem
Diffstat (limited to '')
-rw-r--r-- | app/model/issue.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/model/issue.php b/app/model/issue.php index dd904e4..41392e8 100644 --- a/app/model/issue.php +++ b/app/model/issue.php @@ -25,6 +25,7 @@ if (isAction("iss-mesg-add")) $form->text("issue"); $form->text("mesg", false); $form->text("assignee"); + $form->flag("nopop"); if (!$form->populate(input())) return; @@ -48,7 +49,9 @@ if (isAction("iss-mesg-add")) $mesg = mesg::initNew($form->mesg, $user, $issue); if ($mesg->setAttachment("attachment")) - logError(NOTICE, "Saved attachment " . $mesg->attachment); + { + //logError(NOTICE, "Saved attachment " . $mesg->attachment); + } } if (isset(input()['advIssue'])) @@ -69,7 +72,6 @@ if (isAction("iss-mesg-add")) else { $issue->signoffAssignee($user); - logError(NOTICE, "Issue #" . $issue->numb . " closed"); $log = mesg::initNewLog("%s closed issue", $user, $issue); } } @@ -101,12 +103,12 @@ if (isAction("iss-mesg-add")) $issue->signoffAssignee($user); $issue->close($user); - logError(NOTICE, "Issue #" . $issue->numb . " closed"); $log = mesg::initNewLog("%s closed issue", $user, $issue); } /* automatically redisplay issue modal */ - setAutoModal("#issueModal-" . $issue->guid); + if ($form->nopop != "1") + setAutoModal("#issueModal-" . $issue->guid); } ?> |