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;