projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0603800
)
Order-Controller E-Mail nur nach Speichern möglich
author
Jan Büren
<jan@kivitendo.de>
Tue, 22 Sep 2020 07:14:26 +0000
(09:14 +0200)
committer
Jan Büren
<jan@kivitendo.de>
Wed, 23 Sep 2020 08:48:34 +0000
(10:48 +0200)
Hotfix um einen wirklich gesicherte $::form zu haben
SL/Controller/Order.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Order.pm
b/SL/Controller/Order.pm
index
12b9bae
..
f3eed7c
100644
(file)
--- a/
SL/Controller/Order.pm
+++ b/
SL/Controller/Order.pm
@@
-1885,6
+1885,7
@@
sub setup_edit_action_bar {
action => [
t8('Save and E-mail'),
call => [ 'kivi.Order.save', 'save_and_show_email_dialog', $::instance_conf->get_order_warn_duplicate_parts ],
+ disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef,
],
action => [
t8('Download attachments of all parts'),