Sfoglia il codice sorgente

Simplify and standardize sendMDN function.

pdontthink 18 anni fa
parent
commit
0cedfc1c12
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      templates/default/js/default.js

+ 2 - 2
templates/default/js/default.js

@@ -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();
         }
     }
-}
+}