From b2bcd4c73f12ffb1740cd860248dee37a00751a3 Mon Sep 17 00:00:00 2001 From: Stephan de Wit Date: Fri, 13 Sep 2024 14:30:37 +0200 Subject: [PATCH] system: save immediately on picture removal --- src/www/system_general.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/www/system_general.php b/src/www/system_general.php index e0b16a61d..1526a13de 100644 --- a/src/www/system_general.php +++ b/src/www/system_general.php @@ -297,9 +297,8 @@ $( document ).ready(function() { $("#dnsallowoverride").change(); $("#remove_picture").click(function(event){ - event.preventDefault(); $("#picture").remove(); - $("#pict_td").html(''); + $('#save').click(); }); }); //]]> @@ -553,7 +552,7 @@ $( document ).ready(function() { - +