mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-03 04:22:04 +08:00
1b86445b6a
Signed-off-by: szaimen <szaimen@e.mail.de>
26 lines
967 B
JavaScript
26 lines
967 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);
|
|
|
|
// OnlyOffice
|
|
var onlyoffice = document.getElementById("onlyoffice");
|
|
onlyoffice.addEventListener('change', makeOptionsFormSubmitVisible);
|
|
|
|
// Collabora
|
|
var collabora = document.getElementById("collabora");
|
|
collabora.addEventListener('change', makeOptionsFormSubmitVisible);
|
|
|
|
// Talk
|
|
var talk = document.getElementById("talk");
|
|
talk.addEventListener('change', makeOptionsFormSubmitVisible);
|
|
});
|