From 5991765c600abda475f2ca3f7170d870a2c443ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Fri, 6 Jan 2023 10:54:06 +0100 Subject: [PATCH] Revert "fix recipe editor?" This reverts commit 16dfaf1d0d604de3368ad590c9568cf8e3b8f393. --- dist/server.js | 26 +++++++++++++------------- recipes.json | 8 ++++---- templates/recipe-editor.html | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/dist/server.js b/dist/server.js index 7835e84..f82c585 100644 --- a/dist/server.js +++ b/dist/server.js @@ -206,7 +206,7 @@ function edit_phase(phaseid) {
+ oninput="update_field('text', this.value)">{{text}}
@@ -214,22 +214,22 @@ function edit_phase(phaseid) {
+ oninput="update_field('onload', this.value)" + class="textarea" placeholder="#t">{{onload}}
- +
- +
@@ -294,9 +294,9 @@ Controllers:


{{name}}

{{text}}
-On Load: {{on_load}}
-Exit When: {{exit_condition}}
-On Exit: {{on_exit}}
+On Load: {{onload}}
+Exit When: {{nextcond}}
+On Exit: {{onexit}}
{{/phases}} {{/selected_recipe}} @@ -337,11 +337,11 @@ function current_recipe(data) { {{current_phase.text}}

-Next Cond: {{current_phase.exit_condition}} +Next Cond: {{current_phase.nextcond}}
-On Load: {{current_phase.on_load}} +On Load: {{current_phase.onload}}
-On Exit: {{current_phase.on_exit}} +On Exit: {{current_phase.onexit}}