Bloeder Bug: eine zu gefräßige INSERT legt zu allen Konten taxkeys an, was aber nicht...
[kivitendo-erp.git] / js / show_vc_details.js
1 function show_vc_details(vc) {
2   var width = 750;
3   var height = 550;
4   var parm = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
5   var vc_id = document.getElementsByName(vc + "_id");
6   if (vc_id)
7     vc_id = vc_id[0].value;
8   url = "common.pl?" +
9     "action=show_vc_details&" +
10     "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
11     "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
12     "vc=" + escape(vc) + "&" +
13     "vc_id=" + escape(vc_id)
14   //alert(url);
15   window.open(url, "_new_generic", parm);
16 }