Fix: rechargemnet des crayons
This commit is contained in:
parent
5da31ee28f
commit
c010b392ca
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ function gamutable_crayons_vue_affichage_final($flux){
|
||||||
$id = intval($id)
|
$id = intval($id)
|
||||||
and (!empty($GLOBALS['gamutable_rechargerJson_all']) and !in_array($objet, $GLOBALS['gamutable_rechargerJson_all']))
|
and (!empty($GLOBALS['gamutable_rechargerJson_all']) and !in_array($objet, $GLOBALS['gamutable_rechargerJson_all']))
|
||||||
) {
|
) {
|
||||||
$flux['data'] .= ' <script type="text/javascript">if ( typeof app === "function") { app.rechargerJson('.$id.');} </script>';
|
$flux['data'] .= ' <script type="text/javascript">if ( typeof app === "object") { app.rechargerJson('.$id.');} </script>';
|
||||||
} else {
|
} else {
|
||||||
$flux['data'] .= ' <script type="text/javascript">if ( typeof app === "function") { app.rechargerJson();} </script>';
|
$flux['data'] .= ' <script type="text/javascript">if ( typeof app === "object") { app.rechargerJson();} </script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $flux;
|
return $flux;
|
||||||
|
|
Loading…
Add table
Reference in a new issue