X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fap.pl;h=88c450d351a100256ae2700c0da53788af7f8e54;hb=4536d0a7bc1b0b014cdac7211dcc171973678dbf;hp=c8a3ba6d6a32e910cec77597aec74707f4c2abad;hpb=84bed7a655edfe816ad2a04b5549b6bd6a968c79;p=kivitendo-erp.git
diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl
index c8a3ba6d6..88c450d35 100644
--- a/bin/mozilla/ap.pl
+++ b/bin/mozilla/ap.pl
@@ -93,9 +93,6 @@ sub add {
sub edit {
$lxdebug->enter_sub();
- # show history button
- $form->{javascript} = qq||;
- #/show hhistory button
$form->{title} = "Edit";
@@ -319,6 +316,9 @@ sub form_header {
};
//-->
|;
+ # show history button
+ $form->{javascript} .= qq||;
+ #/show hhistory button
# set option selected
foreach $item (qw(vendor currency department)) {
@@ -880,11 +880,11 @@ sub form_footer {
# button for saving history
if($form->{id} ne "") {
print qq|
- |;
}
# /button for saving history
print "