Uebernahme der kompletten Version, so wie sie Philip als "Demo-Version" gezeigt hat...
[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     "path=" + escape(document.getElementsByName("path")[0].value) + "&" +
9     "name=" + escape(name) + "&" +
10     "input_name=" + escape(input_name) + "&" +
11     "input_id=" + escape(input_id)
12   //alert(url);
13   window.open(url, "_new_generic", parm);
14 }