Simplify and standardize sendMDN function.
[squirrelmail.git] / templates / default / js / default.js
index 86b7571..44c0c0e 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
+}