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:
12b9a47
)
Presenter::Tag: button_tag rendert onclick nur wenn vorhanden
author
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 23 Apr 2021 13:13:56 +0000
(15:13 +0200)
committer
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 25 Jun 2021 13:51:32 +0000
(15:51 +0200)
SL/Presenter/Tag.pm
patch
|
blob
|
history
diff --git
a/SL/Presenter/Tag.pm
b/SL/Presenter/Tag.pm
index
1896445
..
c4b9b7f
100644
(file)
--- a/
SL/Presenter/Tag.pm
+++ b/
SL/Presenter/Tag.pm
@@
-289,7
+289,7
@@
sub button_tag {
$onclick = 'if (!confirm("'. _J(delete($attributes{confirm})) .'")) return false; ' . $onclick if $attributes{confirm};
- html_tag('input', undef, %attributes, value => $value,
onclick =>
$onclick);
+ html_tag('input', undef, %attributes, value => $value,
(onclick => $onclick)x!!
$onclick);
}
sub submit_tag {