Revision d4797b63
Von Thomas Kasulke vor mehr als 17 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
93 | 93 |
|
94 | 94 |
sub edit { |
95 | 95 |
$lxdebug->enter_sub(); |
96 |
# show history button |
|
97 |
$form->{javascript} = qq|<script type="text/javascript" src="js/show_history.js"></script>|; |
|
98 |
#/show hhistory button |
|
99 | 96 |
|
100 | 97 |
$form->{title} = "Edit"; |
101 | 98 |
|
... | ... | |
319 | 316 |
}; |
320 | 317 |
//--> |
321 | 318 |
</script>|; |
319 |
# show history button |
|
320 |
$form->{javascript} .= qq|<script type="text/javascript" src="js/show_history.js"></script>|; |
|
321 |
#/show hhistory button |
|
322 | 322 |
|
323 | 323 |
# set option selected |
324 | 324 |
foreach $item (qw(vendor currency department)) { |
... | ... | |
880 | 880 |
# button for saving history |
881 | 881 |
if($form->{id} ne "") { |
882 | 882 |
print qq| |
883 |
<input type=button class=submit onclick=set_history_window(|
|
|
883 |
<input type="button" class="submit" onclick="set_history_window(|
|
|
884 | 884 |
. $form->{id} |
885 |
. qq|); name=history id=history value=|
|
|
885 |
. qq|);" name="history" id="history" value="|
|
|
886 | 886 |
. $locale->text('history') |
887 |
. qq|>|; |
|
887 |
. qq|">|;
|
|
888 | 888 |
} |
889 | 889 |
# /button for saving history |
890 | 890 |
print " |
Auch abrufbar als: Unified diff
javascript für Historie in form_header aufgenommen und aus edit gelöscht