fix exscaping of / in javascript text
[citadel.git] / webcit / static / t / paging / failed_hook.html
index 98ae11373509664a22906350490186c17e0c9c1e..8f79d6af61f01801932705ba9c97e29e673d6054 100644 (file)
@@ -1,7 +1,13 @@
 <script type="text/javascript">
+
+function PopUpExplicit() {
+       window.open('static/instant_messenger.html', 'CTDL_MESSENGER', 'width=700,height=400');
+       toggleModal(0);
+}
+
 function PopUpFailed() {
 
-       $('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>";
+       $('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:PopUpExplicit();'>OK<\/a><\/h2><\/div>";
        toggleModal(1);
 }
 </script>