Fixed the auto backup system, to allow JCB to be backed up automatically

This commit is contained in:
2018-04-23 14:47:19 +02:00
parent 0857101371
commit 909a91844f
13 changed files with 1868 additions and 864 deletions

View File

@ -801,6 +801,7 @@ function dbChecker(type){
jQuery('#jform_null_switch').removeClass('required');
// show notice
jQuery('.note_no_database_settings_needed').closest('.control-group').show();
jQuery('.note_database_settings_needed').closest('.control-group').hide();
} else {
// add the datatype
jQuery('#jform_datatype-lbl').closest('.control-group').show();
@ -817,6 +818,7 @@ function dbChecker(type){
jQuery('#jform_null_switch').attr('aria-required',true);
jQuery('#jform_null_switch').addClass('required');
// remove notice
jQuery('.note_no_database_settings_needed').closest('.control-group').hide();
jQuery('.note_no_database_settings_needed').closest('.control-group').hide();
jQuery('.note_database_settings_needed').closest('.control-group').show();
}
}