From 8969cd452e4c0e147629533fadd4716ee38b6a5e Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 19 Oct 2025 11:29:52 +1100 Subject: [PATCH] for now, store away amendment types into dom for client-side additions - still working on right place for the additions --- templates/files.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/files.html b/templates/files.html index adb087f..65b0542 100644 --- a/templates/files.html +++ b/templates/files.html @@ -251,6 +251,10 @@ // this implies no content in the Path at all OPT.root_eid = {{ query_data.root_eid }}; + // amendment types are stable per code release, store them once and use as + // needed when we amend entrys in Transforms, removes, etc. + document.amendTypes = {{ query_data.amendTypes|tojson }}; + // get items out of query_data into convenience javascript vars... var move_paths = {{ query_data.move_paths|tojson }}; var NMO={{query_data.NMO|tojson}}