1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 11:52:29 +01:00

Fix flash messages on reply

This commit is contained in:
FreeScout 2018-09-15 23:23:20 -07:00
parent bd4fe1f8a1
commit f9559a7a58

View File

@ -724,6 +724,11 @@ class ConversationsController extends Controller
$response['status'] = 'success';
}
// Reflash session data - otherwise on reply flash alert is not displayed
// https://stackoverflow.com/questions/37019294/laravel-ajax-call-deletes-session-flash-data
\Session::reflash();
break;
// Discard draft (from new conversation, from reply or conversation)