]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/mobile.js
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
[citadel.git] / webcit / static / mobile.js
index 76bc71c40b368a76e59e485bd9c564116cfb4d06..dc1485728e58ac1ba960ec5836eb3c37ee17ec47 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
+
 var currentMsgDisplay = null;
 function CtdlLoadMsgMouseDown(event, msgnum) {
   /*   if (currentMsgDisplay != null) {
@@ -13,13 +18,13 @@ req.open('GET', '/msg/'+msgnum, true);
 req.onreadystatechange = function (aEvt) {
   if (req.readyState == 4) {
      if(req.status == 200)
-      currentMsgDisplay.innerHTML = "<button onMouseDown=\"CtdlHideMsg()\">(Hide message)</button><br/>"+req.responseText;
+      currentMsgDisplay.innerHTML = "<button onMouseDown=\"CtdlHideMsg()\">(Hide message)</button><br>"+req.responseText;
      else
       currentMsgDisplay.innerHTML = "Error loading message";
   }
 };
 req.send(null); */
-  window.location = "/mobilemsg/"+msgnum+"?Mail=1";
+  window.location = "/mobilemsg/"+msgnum;
 }
 function CtdlHideMsg() {
        currentMsgDisplay.style.display = "none";