Fix journal AJAX save in embed so trades stay loaded.

Delegate submit handling for late-mounted #journal-form across OKX/Binance/Gate, avoid full reload fallback, and soft-refresh trade rows after save.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-18 15:23:48 +08:00
parent 8f4ae8ad31
commit a244850b25
5 changed files with 102 additions and 65 deletions
+3
View File
@@ -155,6 +155,9 @@
const root = pageRoot() || document;
global.JournalUploadSlots.init(root);
}
if (global.JournalFormSave && typeof global.JournalFormSave.init === "function") {
global.JournalFormSave.init();
}
}
}