projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'debian' into b-3.6.1
[kivitendo-erp.git]
/
js
/
show_vc_details.js
diff --git
a/js/show_vc_details.js
b/js/show_vc_details.js
index
b85614b
..
067a264
100644
(file)
--- a/
js/show_vc_details.js
+++ b/
js/show_vc_details.js
@@
-6,11
+6,10
@@
function show_vc_details(vc) {
if (vc_id)
vc_id = vc_id[0].value;
url = "common.pl?" +
if (vc_id)
vc_id = vc_id[0].value;
url = "common.pl?" +
+ "INPUT_ENCODING=UTF-8&" +
"action=show_vc_details&" +
"action=show_vc_details&" +
- "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
- "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
- "vc=" + escape(vc) + "&" +
- "vc_id=" + escape(vc_id)
+ "vc=" + encodeURIComponent(vc) + "&" +
+ "vc_id=" + encodeURIComponent(vc_id)
//alert(url);
window.open(url, "_new_generic", parm);
}
//alert(url);
window.open(url, "_new_generic", parm);
}