|
@@ -249,12 +249,10 @@
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- // event handling for isEnabledPassport radio buttons
|
|
|
|
|
|
|
+ // switch display according to on / off of radio buttons
|
|
|
$('input[name="settingForm[security:isEnabledPassport]"]:radio').change(function() {
|
|
$('input[name="settingForm[security:isEnabledPassport]"]:radio').change(function() {
|
|
|
const isEnabledPassport = ($(this).val() === "true");
|
|
const isEnabledPassport = ($(this).val() === "true");
|
|
|
|
|
|
|
|
- console.log("isEnabledPassport", isEnabledPassport);
|
|
|
|
|
-
|
|
|
|
|
if (isEnabledPassport) {
|
|
if (isEnabledPassport) {
|
|
|
$('form.officialCrowiMechanism').hide(400);
|
|
$('form.officialCrowiMechanism').hide(400);
|
|
|
$('form.passportStrategy').show(400);
|
|
$('form.passportStrategy').show(400);
|