#697 add install option

This commit is contained in:
Unknwon 2015-09-13 12:14:32 -04:00
parent b0bf4cc1cb
commit 5f1183cecf
7 changed files with 27 additions and 6 deletions

View file

@ -187,6 +187,16 @@ function initInstall() {
$('#disable-gravatar').checkbox('check');
}
});
$('#disable-registration input').change(function () {
if ($(this).is(':checked')) {
$('#enable-captcha').checkbox('uncheck');
}
});
$('#enable-captcha input').change(function () {
if ($(this).is(':checked')) {
$('#disable-registration').checkbox('uncheck');
}
});
}
function initRepository() {