X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/dd33cbecc78ee154df73ebf578be8f660af2357c..6f1ffd59a04dab30e87d6ea38c5884624f4b926a:/js/kivi.SalesPurchase.js diff --git a/js/kivi.SalesPurchase.js b/js/kivi.SalesPurchase.js index 7637129f6..8d54864cb 100644 --- a/js/kivi.SalesPurchase.js +++ b/js/kivi.SalesPurchase.js @@ -32,8 +32,6 @@ namespace('kivi.SalesPurchase', function(ns) { $edit.val(params.default_longdescription); - kivi.init_text_editor($edit); - $('#popup_edit_longdescription_runningnumber').html(params.runningnumber); $('#popup_edit_longdescription_partnumber').html(params.partnumber); @@ -272,6 +270,7 @@ namespace('kivi.SalesPurchase', function(ns) { var data = { action: 'show_sales_purchase_email_dialog', cp_id: $('#cp_id').val(), + direct_debit: $('#direct_debit').prop('checked') ? 1 : 0, donumber: $('#donumber').val(), format: $('#format').val(), formname: $('#formname').val(),