From ee403f9ac782cad4b6aa4bef52423fced64d1d69 Mon Sep 17 00:00:00 2001 From: SBCrumb Date: Sun, 26 Oct 2025 11:47:47 -0400 Subject: [PATCH] web: debugs --- nfoguard-web/static/index.html | 2 +- nfoguard-web/static/js/app.js | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nfoguard-web/static/index.html b/nfoguard-web/static/index.html index 33ee3c1..614caf4 100644 --- a/nfoguard-web/static/index.html +++ b/nfoguard-web/static/index.html @@ -533,6 +533,6 @@
- + \ No newline at end of file diff --git a/nfoguard-web/static/js/app.js b/nfoguard-web/static/js/app.js index 2b08304..dea032a 100644 --- a/nfoguard-web/static/js/app.js +++ b/nfoguard-web/static/js/app.js @@ -1047,6 +1047,13 @@ async function handleEnhancedEditSubmit(event) { const dateadded = document.getElementById('edit-dateadded').value; const source = document.getElementById('edit-source').value; + console.log('🔍 DEBUG: handleEnhancedEditSubmit called with:', { + dateadded: dateadded, + source: source, + mediaType: mediaType, + imdbId: imdbId + }); + if (!dateadded && source !== 'airdate') { showToast('Please enter a date', 'warning'); return;