From d71c72ba57abee645daf658bbdb74f296406171d Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 12 Jan 2019 22:22:22 -0500 Subject: 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 --- app/model/issue.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/model') 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); } } -- cgit v1.2.3