File: roomchat_unload.html

package info (click to toggle)
webcit 7.83-dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,644 kB
  • ctags: 3,132
  • sloc: ansic: 31,479; sh: 4,259; makefile: 355; xml: 90; sed: 9
file content (17 lines) | stat: -rw-r--r-- 379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript">
function do_roomchat_unload() {
        new Ajax.Request(
                '../chat_exit', {
                        method: 'get'
                }
        );
}
</script>
</head>
<body onUnload="do_roomchat_unload();">
ugly hack to enable an onUnload event
</body>
</html>