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