mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Merge branch '3227-No-se-guarda-muestra-correctamente-certificado-ssl-en-setup-general' into 'develop'
fix bug when updating path of ssl certificate in general setup See merge request artica/pandorafms!2052 Former-commit-id: 453119a3a14e50ce6834eb1ee46da2f1289d6082
This commit is contained in:
commit
4473762393
@ -338,6 +338,11 @@ $(document).ready (function () {
|
|||||||
$("#zone").attr("hidden", false);
|
$("#zone").attr("hidden", false);
|
||||||
$("#timezone").attr("hidden", false);
|
$("#timezone").attr("hidden", false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ($("input[name=use_cert]").is(':checked')) {
|
||||||
|
$('#setup_general-13').show();
|
||||||
|
}
|
||||||
|
|
||||||
$("input[name=use_cert]").change(function () {
|
$("input[name=use_cert]").change(function () {
|
||||||
if( $(this).is(":checked") )
|
if( $(this).is(":checked") )
|
||||||
$('#setup_general-13').show();
|
$('#setup_general-13').show();
|
||||||
|
@ -165,7 +165,7 @@ function config_update_config()
|
|||||||
$error_update[] = __('Automatic check for updates');
|
$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');
|
$error_update[] = __('SSL cert path');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user