From: Moritz Bunkus Date: Mon, 16 Jan 2017 14:41:33 +0000 (+0100) Subject: ActionBar: Brieffunktion: Drucken über Dialog X-Git-Tag: release-3.5.4~1305 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=940da3f8a8302ac7623923fdb5b8c894ea552b08;p=kivitendo-erp.git ActionBar: Brieffunktion: Drucken über Dialog --- diff --git a/SL/Controller/Letter.pm b/SL/Controller/Letter.pm index d299eea1e..ca739cfd0 100644 --- a/SL/Controller/Letter.pm +++ b/SL/Controller/Letter.pm @@ -655,7 +655,7 @@ sub setup_display_action_bar { action => [ t8('Export') ], action => [ t8('Print'), - submit => [ '#form', { action => 'Letter/print_letter' } ], + call => [ 'kivi.SalesPurchase.show_print_dialog', 'Letter/print_letter' ], disabled => !$self->letter->id ? t8('The object has not been saved yet.') : undef, ], action => [ diff --git a/templates/webpages/letter/edit.html b/templates/webpages/letter/edit.html index 027abe898..d33570fdb 100644 --- a/templates/webpages/letter/edit.html +++ b/templates/webpages/letter/edit.html @@ -147,3 +147,7 @@ + +