diff --git a/ccp/js/executionformcontroller.js b/ccp/js/executionformcontroller.js index f97b13a..da21af9 100644 --- a/ccp/js/executionformcontroller.js +++ b/ccp/js/executionformcontroller.js @@ -260,7 +260,7 @@ class CCPExecutionForm extends HTMLElement{ const autoarchiveoption = this.#rootdoc.querySelector("input[name='auto-archive']") const autoarchiveoutputsoption = this.#rootdoc.querySelector("input[name='auto-archive-outputs']") - if (autoarchiveoption.checked || autoarchiveoutputoption.checked){ + if (autoarchiveoption.checked || autoarchiveoutputsoption.checked){ request.subscribers = [] if(autoarchiveoption.checked) request.subscribers.push({ successUri : "http://registry:8080/executions/archive-to-folder" }) if(autoarchiveoutputsoption.checked) request.subscribers.push({ successUri : "http://registry:8080/executions/outputs/archive-to-folder" })