projects
/
citadel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* When the user navigates away from the roomchat screen for any reason, advise the...
[citadel.git]
/
webcit
/
static
/
roomchat_unload.html
1
<html>
2
<head>
3
<script type="text/javascript" src="prototype.js"></script>
4
<script type="text/javascript">
5
function do_roomchat_unload() {
6
new Ajax.Request(
7
'../chat_exit', {
8
method: 'get'
9
}
10
);
11
}
12
</script>
13
</head>
14
<body onUnload="do_roomchat_unload();">
15
ugly hack to enable an onUnload event
16
</body>
17
</html>