]> git.parisson.com Git - teleforma.git/commitdiff
Fix unload_seminar json call
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 12 Jun 2024 09:51:30 +0000 (11:51 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 7 Mar 2025 11:28:22 +0000 (12:28 +0100)
teleforma/static/teleforma/js/application.js

index 6d5f0ec32f38aaaf63945b06ef85743f35f39c48..6a5a0c862ade1cba3500b28df04a07f25af0c9a4 100644 (file)
@@ -70,7 +70,7 @@ function onLoadSeminar(seminarId, username) {
 function onUnloadSeminar(seminarId, username) {
         try {
                 var params = JSON.stringify({ "id": "jsonrpc", "params": [seminarId, username], "method": "teleforma.seminar_unload", "jsonrpc": "1.0" })
-                navigator.sendBeacon("json/", params);
+                navigator.sendBeacon("/json/", params);
         }
         catch {
                 // compatibility with old navigators