Skip to content

Commit 6b59f37

Browse files
josenavasantgonza
authored andcommitted
Fixing GUI parameters (#2238)
1 parent ae4a83c commit 6b59f37

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

qiita_pet/templates/artifact_ajax/processing_artifact.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,12 @@
189189
// Collect the optional parameters
190190
var opt_params = {};
191191
$(".optional-parameter").each( function () {
192-
params[this.id] = this.value;
193-
opt_params[this.id] = this.value;
192+
var value = this.value;
193+
if ( $(this).attr('type') === 'checkbox' ) {
194+
value = this.checked;
195+
}
196+
params[this.id] = value;
197+
opt_params[this.id] = value;
194198
});
195199

196200
var workflow_id = $("#graph-network-div").attr("data-wf-id");

0 commit comments

Comments
 (0)