calculate_qty (Formel): alu (?) und andere unbenutzte Parameter entfernt
[kivitendo-erp.git] / js / calculate_qty.js
1 function calculate_qty_selection_window(input_name, formel) {
2   var parm = centerParms(600,500) + ",width=600,height=500,status=yes,scrollbars=yes";
3   var action = "calculate_qty";
4   url = "common.pl?" +
5     "INPUT_ENCODING=UTF-8&" +
6     "action=" + action + "&" +
7     "input_name=" + encodeURIComponent(input_name) + "&" +
8    "formel=" + encodeURIComponent(document.getElementsByName(formel)[0].value)
9   //alert(url);
10   window.open(url, "_new_generic", parm);
11 }