mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-25 00:00:41 +08:00
38726f039a
Signed-off-by: szaimen <szaimen@e.mail.de>
14 lines
539 B
JavaScript
14 lines
539 B
JavaScript
function makeOptionsFormSubmitVisible() {
|
|
var optionsFormSubmit = document.getElementById("options-form-submit");
|
|
optionsFormSubmit.style.display = 'block';
|
|
}
|
|
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
// handle submit button for options form
|
|
var optionsFormSubmit = document.getElementById("options-form-submit");
|
|
optionsFormSubmit.style.display = 'none';
|
|
|
|
// Clamav
|
|
var clamav = document.getElementById("clamav");
|
|
clamav.addEventListener('change', makeOptionsFormSubmitVisible);
|
|
});
|