Skip to content

Commit

Permalink
Updates graph on websocket update
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Dec 18, 2023
1 parent 6e293b5 commit 27e8dd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/computate/frFR/java/EcrirePageClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -1337,8 +1337,11 @@ public void pageCodeClasseJava(String langueNom, YAMLConfiguration langueConfig)
wWebsocket.tl(4, langueConfig.getString(ConfigCles.var_jsWebsocket), classeNomSimple, "(", classeVarClePrimaire == null ? classeVarCleUnique : classeVarClePrimaire, ", vars, $response);");
wWebsocket.l();
wWebsocket.tl(4, "window.", StringUtils.uncapitalize(classeNomSimple), " = JSON.parse($response.find('.", langueConfig.getString(ConfigCles.var_page), langueConfig.getString(ConfigCles.var_Formulaire), " .", StringUtils.uncapitalize(classeNomSimple), "').val());");
wWebsocket.tl(4, "window.", langueConfig.getString(ConfigCles.var_liste), classeNomSimple, " = JSON.parse($response.find('.", langueConfig.getString(ConfigCles.var_page), langueConfig.getString(ConfigCles.var_Formulaire), " .", langueConfig.getString(ConfigCles.var_liste), classeNomSimple, "').val());");
wWebsocket.l();
wWebsocket.s(wWebsocketInput3);
wWebsocket.l();
wWebsocket.tl(4, langueConfig.getString(ConfigCles.var_page), langueConfig.getString(ConfigCles.var_Graphique), classeNomSimple, "();");
// wWebsocket.tl(3, "} else {");
// wWebsocket.tl(4, "window.location.href = '", classePageUriMethode + "';");
// wWebsocket.tl(3, "}");
Expand Down

0 comments on commit 27e8dd3

Please sign in to comment.