Simplify and standardize sendMDN function.
[squirrelmail.git] / 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';
  */
 function sendMDN() {
     mdnuri=window.location+'&sendreceipt=1';
-    var newwin = window.open(mdnuri,'right');
+    window.location = mdnuri; 
 }
 
 var alreadyFocused = false;
 }
 
 var alreadyFocused = false;
@@ -264,4 +264,4 @@ function checkForm(smaction) {
             document.forms[i-1].elements[pos].focus();
         }
     }
             document.forms[i-1].elements[pos].focus();
         }
     }
-}
\ No newline at end of file
+}