id = "$id_objet"; id = parseInt(id); if (id > 0 && id < 9999999999) { if (typeof app !== 'undefined') { app.rechargerJson(id); } $.modalboxclose(); } if (id === 9999999999) { if (typeof app !== 'undefined') { app.rechargerJson(); } $.modalboxclose(); } delete id; EOJS; return $html; } function gamutable_recharger_tableau($id_objet = 9999999999){ $html = << id = "$id_objet"; id = parseInt(id); if (id > 0 && id < 9999999999) { if (typeof app !== 'undefined') { app.rechargerJson(id); } } if (id === 9999999999) { if (typeof app !== 'undefined') { app.rechargerJson(); } } delete id; EOJS; return $html; }