From f091dd91138d06ffec3e00fecb86e65779126e95 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Thu, 21 Mar 2019 23:58:46 -0500 Subject: [PATCH] bugfix 10 --- website/public/scout/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index 596305a5..4fac33a0 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -233,7 +233,7 @@ function processAndAppendReturn(data) { } else if (questions[j][1]['type'] == 'longText') { document.getElementById('FormData').innerHTML += ""; } else if (questions[j][1]['type'] == 'stepper') { - document.getElementById('FormData').innerHTML += "" + (questions[j][1]['default']).toString() + ""; + document.getElementById('FormData').innerHTML += "" + (questions[j][1]['defaultValue']).toString() + ""; } else if (questions[j][1]['type'] == 'range') { document.getElementById('FormData').innerHTML += "  " + questions[j][1]['min']['text'] + "  "; document.getElementById('FormData').innerHTML += "";