fix: le rechargement du json via maj, est une nouvelle option, elle ne
remplace pas id
This commit is contained in:
parent
d76d336300
commit
30afd04c90
2 changed files with 23 additions and 22 deletions
|
@ -54,7 +54,7 @@ function gamutable_crayons_vue_affichage_final($flux){
|
|||
$id = intval($id)
|
||||
and !in_array($objet, $GLOBALS['gamutable_rechargerJson_all'] ?? [])
|
||||
) {
|
||||
$flux['data'] .= ' <script type="text/javascript">if ( typeof app_deux === "object") { app_deux.rechargerJson("maj");}if ( typeof app === "object") { app.rechargerJson("maj");} </script>';
|
||||
$flux['data'] .= ' <script type="text/javascript">if ( typeof app_deux === "object") { app_deux.rechargerJson('.$id.');}if ( typeof app === "object") { app.rechargerJson('.$id.');} </script>';
|
||||
} else {
|
||||
$flux['data'] .= $objet . ' <script type="text/javascript">if ( typeof app_deux === "object") { app_deux.rechargerJson();}if ( typeof app === "object") { app.rechargerJson();} </script>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue