]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/order/tabs/_multi_items_dialog.html
Auftrags-Controller: Mehrfach-Artikelauswahl: ajax-Call mit post, nicht mit get.
[mfinanz.git] / templates / webpages / order / tabs / _multi_items_dialog.html
index f96018c79e148cc431d6f72b1d3534867034cea2..5ae114d41f1c80c292e576655cd326f0a0a2fea3 100644 (file)
@@ -5,7 +5,7 @@
 <table id='multi_items_filter_table'>
   <tr>
     <th>[%- LxERP.t8("Description") %]/[%- LxERP.t8("Partnumber") %]:</th>
-    <td>[%- L.input_tag('multi_items.filter.all:substr::ilike', '') %]</td>
+    <td>[%- L.input_tag('multi_items.filter.all:substr:multi::ilike', '') %]</td>
     <th>[%- LxERP.t8("Group") %]</th>
     <td>[%- L.select_tag('multi_items.filter.partsgroup_id', all_partsgroups, title_key='displayable_name', value_key='id', with_empty=1) %]</td>
   <tr>
@@ -28,7 +28,10 @@ function update_result() {
   $.ajax({
     url: 'controller.pl?action=Order/multi_items_update_result',
     data: data,
-    success: function(data){ $('#multi_items_result').html(data) }
+    method: 'post',
+    success: function(data){
+      $('#multi_items_result').html(data);
+    }
   });
 }