X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fpart_selection.js;h=9ce022cd5b6466d6859b8135b36d5882562e6629;hb=1c17339f750dc44de61fed2e1c8708c41d4864f2;hp=8113e8ba3dc6027431859413cc955b47acd80ea7;hpb=83914eeb2e95cdf587565952eef54be59dd58693;p=kivitendo-erp.git diff --git a/js/part_selection.js b/js/part_selection.js index 8113e8ba3..9ce022cd5 100644 --- a/js/part_selection.js +++ b/js/part_selection.js @@ -24,15 +24,17 @@ function part_selection_window(input_partnumber, input_description, input_partsi options = ""; url = "common.pl?" + + "INPUT_ENCODING=UTF-8&" + "action=part_selection_internal&" + - "partnumber=" + escape_more(partnumber) + "&" + - "description=" + escape_more(description) + "&" + - "input_partnumber=" + escape_more(input_partnumber) + "&" + - "input_description=" + escape_more(input_description) + "&" + - "input_partsid=" + escape_more(input_partsid) + "&" + - "input_partnotes=" + escape_more(input_partnotes) + "&" + - "filter=" + escape_more(filter) + "&" + - "options=" + escape_more(options) + "&" + + "partnumber=" + encodeURIComponent(partnumber) + "&" + + "description=" + encodeURIComponent(description) + "&" + + "input_partnumber=" + encodeURIComponent(input_partnumber) + "&" + + "input_description=" + encodeURIComponent(input_description) + "&" + + "input_partsid=" + encodeURIComponent(input_partsid) + "&" + + "input_partnotes=" + encodeURIComponent(input_partnotes) + "&" + + "filter=" + encodeURIComponent(filter) + "&" + + "options=" + encodeURIComponent(options) + "&" + + "formname=" + encodeURIComponent(formname) + "&" + "allow_creation=" + (allow_creation ? "1" : "0") + "&" + "action_on_part_selected=" + (null == action_on_part_selected ? "" : action_on_part_selected.value); //alert(url);