From d584791ee89428c281875ee84562ce73cec3b290 Mon Sep 17 00:00:00 2001 From: Tobias O Date: Thu, 13 Nov 2025 23:27:29 +1300 Subject: [PATCH] [Fix] Ketcher submission now recognized (#213) This will hack the ketcher submission to work again (see #207). The problem seems to be that the iframe loads slower than the script tag so the reference is not available on page load. Registering from within the code to poll until ketcher is ready is a bit messy. Tracked the introduced dept in #212. Reviewed-on: https://git.envipath.com/enviPath/enviPy/pulls/213 Co-authored-by: Tobias O Co-committed-by: Tobias O --- templates/index/index.html | 62 ++++++++++++++++++++++++++++++---- templates/predict_pathway.html | 38 ++++++++++++++++++--- 2 files changed, 90 insertions(+), 10 deletions(-) diff --git a/templates/index/index.html b/templates/index/index.html index 7a1cf4fc..dec6ea8e 100644 --- a/templates/index/index.html +++ b/templates/index/index.html @@ -258,6 +258,31 @@