diff --git a/src/main/resources/org/zowe/zdevops/classic/steps/SubmitJobStep/config.jelly b/src/main/resources/org/zowe/zdevops/classic/steps/SubmitJobStep/config.jelly index 5f79f1b..e41f024 100644 --- a/src/main/resources/org/zowe/zdevops/classic/steps/SubmitJobStep/config.jelly +++ b/src/main/resources/org/zowe/zdevops/classic/steps/SubmitJobStep/config.jelly @@ -4,8 +4,14 @@ + + -

${stepId}

@@ -16,7 +22,7 @@ - + @@ -24,12 +30,13 @@ function checkSync${stepId}() { var sync = document.getElementById('${stepId}_sync'); var checkRC = document.getElementById('${stepId}_checkRC'); - checkRC.readonly = sync.checked; - console.log("it works"); + checkRC.removeAttribute('disabled'); + if (!sync.checked && checkRC.checked) { checkRC.checked = false; checkRC.readonly = true; + checkRC.disabled = "disabled"; } }