From 4b94e5b7f5eff73138bfbaaf718ccea4bbdce81c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 4 Jun 2025 11:12:24 +0200 Subject: [PATCH] Add JS stub handler --- changedetectionio/static/js/realtime.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changedetectionio/static/js/realtime.js b/changedetectionio/static/js/realtime.js index 6e6ff444e..30b61c7f3 100644 --- a/changedetectionio/static/js/realtime.js +++ b/changedetectionio/static/js/realtime.js @@ -94,6 +94,10 @@ $(document).ready(function () { } }); + socket.on('notification_event', function (data) { + console.log(`Stub handler for notification_event ${data.watch_uuid}`) + }); + // Listen for periodically emitted watch data console.log('Adding watch_update event listener');