]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/part/_customerprices.html
Zu 47da14db generische LS-Mail: locales und Anhak-Option in Suche
[mfinanz.git] / templates / webpages / part / _customerprices.html
index d7c74bceac5c3e02434ec0fe277d8989c899fc11..49f32c3289f2b9c2248b57acc4b85965af97ce5c 100644 (file)
@@ -30,7 +30,7 @@
          <td></td>
          <td></td>
          <td align="right">[% 'Customer' | $T8 %]</td>
-         <td rowspan="2">[% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input") %]</td>
+         <td rowspan="2">[% P.customer_vendor.customer_picker('add_customerprice', '', style='width: 300px', class="add_customerprice_input", action={commit_one='kivi.Part.add_customerprice_row'}) %]</td>
          <td rowspan="2" align="right">[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td>
         </tr>
        </tbody>
     </td>
   </tr>
   [% L.sortable_element('#customerprice_rows') %]
-
-  <script type="text/javascript">
-  $(function() {
-
-    $('#customerprice_rows').on('sortstop', function(event, ui) {
-      kivi.Part.customerprice_renumber_positions();
-    });
-
-  })
-  </script>