Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d4797b63

Von Thomas Kasulke vor fast 18 Jahren hinzugefügt

  • ID d4797b633bf64ae08362ebb8176f959b8eb112ee
  • Vorgänger dc7f3c9a
  • Nachfolger a426a839

javascript für Historie in form_header aufgenommen und aus edit gelöscht

Unterschiede anzeigen:

bin/mozilla/ap.pl
sub edit {
$lxdebug->enter_sub();
# show history button
$form->{javascript} = qq|<script type="text/javascript" src="js/show_history.js"></script>|;
#/show hhistory button
$form->{title} = "Edit";
......
};
//-->
</script>|;
# show history button
$form->{javascript} .= qq|<script type="text/javascript" src="js/show_history.js"></script>|;
#/show hhistory button
# set option selected
foreach $item (qw(vendor currency department)) {
......
# button for saving history
if($form->{id} ne "") {
print qq|
<input type=button class=submit onclick=set_history_window(|
<input type="button" class="submit" onclick="set_history_window(|
. $form->{id}
. qq|); name=history id=history value=|
. qq|);" name="history" id="history" value="|
. $locale->text('history')
. qq|>|;
. qq|">|;
}
# /button for saving history
print "

Auch abrufbar als: Unified diff