toggleModal() now explicitly accepts an argument of 1 (on) or 0 (off)
[citadel.git] / webcit / static / t / paging / failed_hook.html
1 <script type="text/javascript">
2 function PopUpFailed() {
3
4         $('md-content').innerHTML = "<div align='justify'><?_("You have one or more instant messages waiting, but the Citadel Instant Messenger window failed to open.  This is probably because you have a popup blocker installed.  Please configure your popup blocker to allow popups from this site if you wish to receive instant messages.")></div><br><br><div align='center'><h2><a href='javascript:toggleModal(0);'>OK</a></h2></div>";
5         toggleModal(1);
6 }
7 </script>