From 685888fddde7a6e7ae13e6d2dfd16f402bd8c428 Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 10 Sep 2020 05:30:53 +0000 Subject: [PATCH] Save scenarios as formatted JSON. --- vasl_templates/webapp/static/snippets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vasl_templates/webapp/static/snippets.js b/vasl_templates/webapp/static/snippets.js index aa80b28..7f69b2f 100644 --- a/vasl_templates/webapp/static/snippets.js +++ b/vasl_templates/webapp/static/snippets.js @@ -1756,7 +1756,7 @@ function on_save_scenario() { // unload the template parameters var params = unload_params_for_save( true ) ; - var data = JSON.stringify( params ) ; + var data = JSON.stringify( params, null, 4 ) ; // FOR TESTING PORPOISES! We can't control a file download from Selenium (since // the browser will use native controls), so we store the result in a