Stop embed form interceptor from blanking trade records after journal save.
Exclude journal-form from InstanceEmbed submit reload, stopImmediatePropagation on AJAX save, and force-reload trades when the table is stuck on loading. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -141,10 +141,12 @@
|
||||
if (typeof global.validateJournalEntryReason === "function") {
|
||||
if (!global.validateJournalEntryReason()) {
|
||||
ev.preventDefault();
|
||||
if (typeof ev.stopImmediatePropagation === "function") ev.stopImmediatePropagation();
|
||||
return;
|
||||
}
|
||||
}
|
||||
ev.preventDefault();
|
||||
if (typeof ev.stopImmediatePropagation === "function") ev.stopImmediatePropagation();
|
||||
submitAjax(form);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user