diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index 2cdd096..c25b112 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -2620,7 +2620,8 @@ document.querySelectorAll('.pre-block[data-scroll-bottom]').forEach(function(el) document.querySelectorAll('[data-reveal-card]').forEach(function(btn) { btn.addEventListener('click', function() { var card = document.getElementById(btn.dataset.revealCard); - if (card) card.style.display = card.style.display === 'none' ? '' : 'none'; + if (!card) return; + if (card.style.display === 'none') { showCard(card); } else { card.style.display = 'none'; } }); }); (function() { diff --git a/docker/routlin-dash/data/page_content.json b/docker/routlin-dash/data/page_content.json index 5e91f82..830a9cc 100644 --- a/docker/routlin-dash/data/page_content.json +++ b/docker/routlin-dash/data/page_content.json @@ -369,6 +369,8 @@ "items": [ { "type": "button_primary", + "action": "/action/ddns_ip_check_save", + "method": "post", "text": "Save" }, { @@ -560,6 +562,8 @@ "items": [ { "type": "button_primary", + "action": "/action/ddns_cardlog_save", + "method": "post", "text": "Save" }, {