From 2beecdc6d741223ac4bb58ad2cbeab6020cd26b7 Mon Sep 17 00:00:00 2001 From: Damien Burel <damien.burel@maarch.org> Date: Thu, 3 Dec 2015 10:38:38 +0000 Subject: [PATCH] FIX #3104 fix modalId --- core/trunk/core/manage_action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trunk/core/manage_action.php b/core/trunk/core/manage_action.php index 3f60e7c9103..8c3fec03b8f 100644 --- a/core/trunk/core/manage_action.php +++ b/core/trunk/core/manage_action.php @@ -287,7 +287,7 @@ else if(empty($_POST['values']) || !isset($_POST['action_id']) || empty($_POST[' elseif( $_POST['req'] == 'first_request' && $error_visa_response_project == true) { echo "{status : 3, form_content : '<div class=\"h2_title\">" . addslashes($visa->errorMessageVisa) . - "</div><p class=\"buttons\"><input type=\"button\" onclick=\"destroyModal(\'" . $modalId . "\')\" class=\"button\" value=\"OK\" id=\"submit\" name=\"submit\"></p>', height : 'auto', width : 'auto', 'mode_frm' : '', validate : 'OK', 'action_status' : '".functions::xssafe($status)."'}"; + "</div><p class=\"buttons\"><input type=\"button\" onclick=\"destroyModal(\'modal_" .$id_action . "\')\" class=\"button\" value=\"OK\" id=\"submit\" name=\"submit\"></p>', height : 'auto', width : 'auto', 'mode_frm' : '', validate : 'OK', 'action_status' : '".functions::xssafe($status)."'}"; exit(); } elseif( $_POST['req'] == 'first_request' && $error_visa_workflow == true) -- GitLab