diff --git a/gamutable_fonctions.php b/gamutable_fonctions.php index e50a9be..1091d8e 100644 --- a/gamutable_fonctions.php +++ b/gamutable_fonctions.php @@ -35,3 +35,24 @@ function gamutable_fermer_modalbox($id_objet = 9999999999){ 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; +} diff --git a/paquet.xml b/paquet.xml index 4dd94e8..9637d19 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@