notes, $action->id_action,$action->num_demande,"demandes-show_consult_form",true)); break; case 'change_read_note': $tab = json_decode(stripslashes($tab),true); $note = new demandes_notes($tab["id_note"],false); demandes_notes::change_read($note,"_gestion"); ajax_http_send_response(demandes_notes::note_majParent($tab["id_note"], $tab["id_action"], $tab["id_demande"],"_gestion")); break; case 'final_response': $tab = json_decode(stripslashes($tab),true); $note = new demandes_notes($tab["id_note"],false); $f_message=addslashes($note->contenu); $demande = new demandes($tab["id_demande"]); $demande->save_repfinale($tab["id_note"]); ajax_http_send_response(demandes_notes::note_majParent($tab["id_note"], $tab["id_action"], $tab["id_demande"],"_gestion")); break; }