Fix double POST on open position in embed shell mode.

Embed capture-phase form handler and allowManualOrderSubmit both submitted /add_order; skip custom forms and use a single fetch reload path.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-25 19:03:25 +08:00
parent 2dadd93d91
commit cfc703ae5b
4 changed files with 46 additions and 5 deletions
+1 -1
View File
@@ -115,6 +115,6 @@
<script src="/static/manual_order_rr_preview.js?v=3"></script>
<script src="/static/key_monitor_form.js?v=1"></script>
{% include 'embed_boot_scripts.html' %}
<script src="/static/instance_embed.js?v=3"></script>
<script src="/static/instance_embed.js?v=4"></script>
</body>
</html>