X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/84bed7a655edfe816ad2a04b5549b6bd6a968c79..d4797b633bf64ae08362ebb8176f959b8eb112ee:/bin/mozilla/ap.pl
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 "