]> git.parisson.com Git - teleforma.git/commitdiff
try bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 15:13:51 +0000 (17:13 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 15:13:51 +0000 (17:13 +0200)
teleforma/templates/teleforma/seminar_detail.html

index 1942143200c4545d7480c2de76500cad495fe106..1192e4cdc7c63ef7ec0264733e833e63012ac623 100644 (file)
@@ -76,13 +76,14 @@ $(window).ready(function(){
             return false;
             }
         });
+    });
 
-    $(document).unload(function(){
-          f.ping('{{seminar.id}}','{{user.username}}');
-        });
-
+$(window).unload(function(){
+    var f = seminarUtils;
+    f.ping('{{seminar.id}}','{{user.username}}');
     });
 
+
 </script>
 {% endif %}