X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/87e1fb0da7d259a38182b8f363b91c0d8b4fd149..c2aaf253649281fee8e79a3300d81c827d9a1fd1:/js/kivi.SalesPurchase.js diff --git a/js/kivi.SalesPurchase.js b/js/kivi.SalesPurchase.js index 2659c858e..98111dadc 100644 --- a/js/kivi.SalesPurchase.js +++ b/js/kivi.SalesPurchase.js @@ -239,8 +239,7 @@ namespace('kivi.SalesPurchase', function(ns) { $('#send_email_dialog').children().remove().appendTo('#email_inputs'); $('#send_email_dialog').dialog('close'); - $('#action').val('send_sales_purchase_email'); - $('#form').submit(); + kivi.submit_form_with_action('#form', 'send_sales_purchase_email'); return true; };