Simplify and standardize sendMDN function.
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 19 Jan 2007 23:21:54 +0000 (23:21 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 19 Jan 2007 23:21:54 +0000 (23:21 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12154 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/js/default.js

index 86b757193eff822b19f6d3e695af639ee31e3297..44c0c0ebc8363802071420f9c7f61c9c4a1dada5 100644 (file)
@@ -225,7 +225,7 @@ function comp_in_new(comp_uri, iWidth, iHeight) {
  */
 function sendMDN() {
     mdnuri=window.location+'&sendreceipt=1';
-    var newwin = window.open(mdnuri,'right');
+    window.location = mdnuri; 
 }
 
 var alreadyFocused = false;
@@ -264,4 +264,4 @@ function checkForm(smaction) {
             document.forms[i-1].elements[pos].focus();
         }
     }
-}
\ No newline at end of file
+}