add_assembly_item: Kein "assortment" (Copy Paste Fehler ?)
authorMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Wed, 22 Nov 2017 11:11:52 +0000 (12:11 +0100)
committerMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Wed, 22 Nov 2017 11:14:18 +0000 (12:14 +0100)
js/kivi.Part.js

index dd6010b..9a729b4 100644 (file)
@@ -173,7 +173,7 @@ namespace('kivi.Part', function(ns) {
     var data = $('#assembly :input').serializeArray();
     data.push({ name: 'action', value: 'Part/add_assembly_item' },
               { name: 'part.id', value: $("#part_id").val()     },
-              { name: 'part.part_type', value: 'assortment'     });
+              { name: 'part.part_type', value: 'assembly'       });
     $('#assembly_picker').data('part_picker').clear();
 
     $.post("controller.pl", data, kivi.eval_json_result);