fix bug when updating path of ssl certificate in general setup
Former-commit-id: dfe466e64e18c7e3ea949f7786e0ef6343334260
This commit is contained in:
parent
1526aa6eee
commit
c05b4c53e8
|
@ -292,6 +292,11 @@ $(document).ready (function () {
|
|||
$("#zone").attr("hidden", false);
|
||||
$("#timezone").attr("hidden", false);
|
||||
});
|
||||
|
||||
if ($("input[name=use_cert]").is(':checked')) {
|
||||
$('#setup_general-13').show();
|
||||
}
|
||||
|
||||
$("input[name=use_cert]").change(function () {
|
||||
if( $(this).is(":checked") ){
|
||||
var val = $(this).val();
|
||||
|
|
|
@ -136,7 +136,7 @@ function config_update_config () {
|
|||
$error_update[] = __('Time source');
|
||||
if (!config_update_value ('autoupdate', (bool) get_parameter ('autoupdate')))
|
||||
$error_update[] = __('Automatic check for updates');
|
||||
if (!config_update_value ('cert_path', (bool) get_parameter ('cert_path')))
|
||||
if (!config_update_value ('cert_path', get_parameter ('cert_path')))
|
||||
$error_update[] = __('SSL cert path');
|
||||
if (!config_update_value ('https', (bool) get_parameter ('https')))
|
||||
$error_update[] = __('Enforce https');
|
||||
|
|
Loading…
Reference in New Issue