We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad95899 commit 456621cCopy full SHA for 456621c
app/views/extractions/submitFileExtraction.scala.html
@@ -80,7 +80,9 @@ <h1>Submit file for extraction</h1>
80
<script>
81
var params = JSON.parse("@Json.stringify(e.parameters)".replace(/"/g, "\""));
82
var selector = "#@(e.name.replaceAll("\\.", "_"))_parameters";
83
- $(selector).jsonForm(params);
+ if (Object.keys(params).length != 0) {
84
+ $(selector).jsonForm(params);
85
+ }
86
</script>
87
}
88
</tbody>
0 commit comments