add js decoding for checking raw txs

master
moneroexamples 7 years ago
parent 3b8b9b3a78
commit b9e9c60267

@ -2320,6 +2320,9 @@ namespace xmreg
add_css_style(context); add_css_style(context);
if (enable_js)
add_js_files(context);
if (unsigned_tx_given) if (unsigned_tx_given)
{ {
@ -2660,6 +2663,9 @@ namespace xmreg
add_css_style(context); add_css_style(context);
if (enable_js)
add_js_files(context);
// render the page // render the page
return mstch::render(template_file["checkrawtx"], context, partials); return mstch::render(template_file["checkrawtx"], context, partials);
@ -2906,6 +2912,7 @@ namespace xmreg
} }
map<string, string> partials { map<string, string> partials {
{"tx_details", template_file["tx_details"]}, {"tx_details", template_file["tx_details"]},
}; };

Loading…
Cancel
Save