summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2019-01-12 22:22:22 -0500
committerMalf Furious <m@lfurio.us>2019-01-12 22:22:22 -0500
commitd71c72ba57abee645daf658bbdb74f296406171d (patch)
tree45c1c577dba69cd520b3787dd0300a15fb4cf7ca /app
parent498f4d77d2868780e9975085fa9a2e8ebbe75ea3 (diff)
downloadscrott-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.php1
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);
}
}