Skip to content
Snippets Groups Projects
Unverified Commit 190bfd92 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

Revert "adjust conditional js to prevent sso bug (#2466)"

This reverts commit 91d8de39.
parent 91d8de39
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ window.osuny.conditional = {
target.classList.add('d-none');
if (input) {
input.removeAttribute('required');
input.setAttribute('disabled', 'disabled');
}
},
......@@ -47,6 +48,7 @@ window.osuny.conditional = {
var input = target.querySelector('select');
target.classList.remove('d-none');
if (input) {
input.removeAttribute('disabled');
input.setAttribute('required', 'required');
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment