Druckausgaben wieder richtig ausgeben (falscher Variablenname im Template)
[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     "INPUT_ENCODING=UTF-8&" +
6     "action=vendor_selection&" +
7     "name=" + encodeURIComponent(name) + "&" +
8     "input_name=" + encodeURIComponent(input_name) + "&" +
9     "input_id=" + encodeURIComponent(input_id)
10   //alert(url);
11   window.open(url, "_new_generic", parm);
12 }