epic-ts
[kivitendo-erp.git] / js / part_selection.js
index 3e0c500..9fd5657 100644 (file)
@@ -12,7 +12,7 @@ function part_selection_window(input_partnumber, input_description, input_partsi
     input_partnotes = input_partnumber;
     input_partnotes = input_partnotes.replace(/partnumber/, "partnotes");
     if (input_partnotes == input_partnumber)
-      input_partnoes = "";
+      input_partnotes = "";
   }
 
   if (filter)
@@ -24,6 +24,7 @@ function part_selection_window(input_partnumber, input_description, input_partsi
     options = "";
 
   url = "common.pl?" +
+    "INPUT_ENCODING=UTF-8&" +
     "action=part_selection_internal&" +
     "partnumber="              + encodeURIComponent(partnumber)        + "&" +
     "description="             + encodeURIComponent(description)       + "&" +