From b9e9c6026789853b8db263f020a90bc28d860691 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sat, 3 Feb 2018 13:40:52 +0800 Subject: [PATCH] add js decoding for checking raw txs --- src/page.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/page.h b/src/page.h index 770262f..ff44b91 100644 --- a/src/page.h +++ b/src/page.h @@ -2320,6 +2320,9 @@ namespace xmreg add_css_style(context); + if (enable_js) + add_js_files(context); + if (unsigned_tx_given) { @@ -2660,6 +2663,9 @@ namespace xmreg add_css_style(context); + if (enable_js) + add_js_files(context); + // render the page return mstch::render(template_file["checkrawtx"], context, partials); @@ -2906,6 +2912,7 @@ namespace xmreg } + map partials { {"tx_details", template_file["tx_details"]}, };