forked from ZwiiCMS-Team/ZwiiCMS
Animation options de captcha
This commit is contained in:
parent
4cd8e98bea
commit
6d5ae0a3fc
@ -37,6 +37,23 @@ $( document).ready(function() {
|
|||||||
$("#smtpAuthParam").slideUp();
|
$("#smtpAuthParam").slideUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Afficher etmasquer les option de captcha
|
||||||
|
*/
|
||||||
|
|
||||||
|
if ($("input[name=connectCaptcha]").is(':checked')) {
|
||||||
|
$("#connectCaptchaStrongWrapper").addClass("disabled");
|
||||||
|
$("#connectCaptchaStrongWrapper").slideDown();
|
||||||
|
$("#connectCaptchaTypeWrapper").addClass("disabled");
|
||||||
|
$("#connectCaptchaTypeWrapper").slideDown();
|
||||||
|
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
||||||
|
} else {
|
||||||
|
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
||||||
|
$("#connectCaptchaStrongWrapper").slideUp();
|
||||||
|
$("#connectCaptchaTypeWrapper").removeClass("disabled");
|
||||||
|
$("#connectCaptchaTypeWrapper").slideUp();
|
||||||
|
}
|
||||||
|
|
||||||
var configLayout = getCookie("configLayout");
|
var configLayout = getCookie("configLayout");
|
||||||
if (configLayout == null) {
|
if (configLayout == null) {
|
||||||
configLayout = "setup";
|
configLayout = "setup";
|
||||||
@ -112,10 +129,15 @@ $( document).ready(function() {
|
|||||||
if ($("input[name=connectCaptcha]").is(':checked')) {
|
if ($("input[name=connectCaptcha]").is(':checked')) {
|
||||||
$("#connectCaptchaStrongWrapper").addClass("disabled");
|
$("#connectCaptchaStrongWrapper").addClass("disabled");
|
||||||
$("#connectCaptchaStrongWrapper").slideDown();
|
$("#connectCaptchaStrongWrapper").slideDown();
|
||||||
|
$("#connectCaptchaTypeWrapper").addClass("disabled");
|
||||||
|
$("#connectCaptchaTypeWrapper").slideDown();
|
||||||
|
|
||||||
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
||||||
} else {
|
} else {
|
||||||
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
||||||
$("#connectCaptchaStrongWrapper").slideUp();
|
$("#connectCaptchaStrongWrapper").slideUp();
|
||||||
|
$("#connectCaptchaTypeWrapper").removeClass("disabled");
|
||||||
|
$("#connectCaptchaTypeWrapper").slideUp();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user