]> wagnertech.de Git - mfinanz.git/blobdiff - js/show_vc_details.js
JavaScript und Umlaute in UTF-8-Codierung funktioniert nicht mit der JavaScript-Funkt...
[mfinanz.git] / js / show_vc_details.js
index 5595e72fba1be76e37bb3984247e29da5df3b797..3e5bffc01b2a6f1a60d5b38fb63fc938ae0714ac 100644 (file)
@@ -7,8 +7,8 @@ function show_vc_details(vc) {
     vc_id = vc_id[0].value;
   url = "common.pl?" +
     "action=show_vc_details&" +
-    "vc=" + escape(vc) + "&" +
-    "vc_id=" + escape(vc_id)
+    "vc=" + encodeURIComponent(vc) + "&" +
+    "vc_id=" + encodeURIComponent(vc_id)
   //alert(url);
   window.open(url, "_new_generic", parm);
 }