correction si on utilise les crayons sans gamutable
This commit is contained in:
parent
0a6d276acc
commit
92ea295189
1 changed files with 3 additions and 2 deletions
|
@ -54,9 +54,10 @@ function gamutable_crayons_vue_affichage_final($flux){
|
|||
$id = intval($id)
|
||||
and (!empty($GLOBALS['gamutable_rechargerJson_all']) and !in_array($objet, $GLOBALS['gamutable_rechargerJson_all']))
|
||||
) {
|
||||
$flux['data'] .= ' <script type="text/javascript"> app.rechargerJson('.$id.'); </script>';
|
||||
$flux['data'] .= ' <script type="text/javascript">if ( typeof app === "function") { app.rechargerJson('.$id.');} </script>';
|
||||
} else {
|
||||
$flux['data'] .= ' <script type="text/javascript"> app.rechargerJson(); </script>';
|
||||
$flux['data'] .= ' <script type="text/javascript">if ( typeof app === "function") { app.rechargerJson();} </script>';
|
||||
}
|
||||
|
||||
return $flux;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue