diff --git a/public/javascripts/form.js b/public/javascripts/form.js index 50a04fb5..aef53d14 100644 --- a/public/javascripts/form.js +++ b/public/javascripts/form.js @@ -187,6 +187,12 @@ $(document).ready(function() { paramReference.type = "string"; } + if (paramReference.type == "json") { + parameterOptions["type"] = "json"; + parameterOptions["cols"] = 20; + paramReference.type = "string"; + } + //Sets options to type boolean if (paramReference.type == "boolean") { parameterOptions["type"] = "select";