]> wagnertech.de Git - mfinanz.git/blobdiff - js/delivery_customer_selection.js
DATEV-Schnittstelle: Auslagerung von KNE-Schreibfunktionen in eigenes Modul. Kosmetik...
[mfinanz.git] / js / delivery_customer_selection.js
index 83b226d026daa809fbe24a5b687452a218647115..c44b3385e313a834a4007488904bf157df2f1d31 100644 (file)
@@ -3,12 +3,9 @@ function delivery_customer_selection_window(input_name, input_id) {
   var name = document.getElementsByName(input_name)[0].value;
   url = "common.pl?" +
     "action=delivery_customer_selection&" +
-    "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
-    "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
-    "path=" + escape(document.getElementsByName("path")[0].value) + "&" +
-    "name=" + escape(name) + "&" +
-    "input_name=" + escape(input_name) + "&" +
-    "input_id=" + escape(input_id)
+    "name=" + encodeURIComponent(name) + "&" +
+    "input_name=" + encodeURIComponent(input_name) + "&" +
+    "input_id=" + encodeURIComponent(input_id)
   //alert(url);
   window.open(url, "_new_generic", parm);
 }