ICAL: add conflict handling
[citadel.git] / webcit / static / roomchat_unload.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2   "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4   <head>
5     <title>End Chat</title>
6       <script type="text/javascript" src="prototype.js"></script>
7       <script type="text/javascript">
8         function do_roomchat_unload() {
9           new Ajax.Request(
10             '../chat_exit', {
11               method: 'get'
12             }
13           );
14         }
15       </script>
16   </head>
17   <body onUnload="do_roomchat_unload();">
18    ugly hack to enable an onUnload event
19   </body>
20 </html>