diff options
author | Malf Furious <m@lfurio.us> | 2019-01-12 22:22:22 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2019-01-12 22:22:22 -0500 |
commit | d71c72ba57abee645daf658bbdb74f296406171d (patch) | |
tree | 45c1c577dba69cd520b3787dd0300a15fb4cf7ca /app | |
parent | 498f4d77d2868780e9975085fa9a2e8ebbe75ea3 (diff) | |
download | scrott-d71c72ba57abee645daf658bbdb74f296406171d.tar.gz scrott-d71c72ba57abee645daf658bbdb74f296406171d.zip |
Display confirmation message when closing issue by advancing it
This is to make the user experience more uniform, but is in-part to
mitigate a bug.
Since the auto issue showing has been added, this will cause the newly
closed issue to try and come up after we advance it past the last stage.
Since we have just closed the issue, its modal is in a weird state.
This informational notice modal prevents that broken issue modal from
displaying.
Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r-- | app/model/issue.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/model/issue.php b/app/model/issue.php index a9f6961..dd904e4 100644 --- a/app/model/issue.php +++ b/app/model/issue.php @@ -69,6 +69,7 @@ if (isAction("iss-mesg-add")) else { $issue->signoffAssignee($user); + logError(NOTICE, "Issue #" . $issue->numb . " closed"); $log = mesg::initNewLog("%s closed issue", $user, $issue); } } |