From a03aab5518e351fe903e201239e1e5f09278f11d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 29 Jun 2015 15:47:07 +0200 Subject: [PATCH] =?utf8?q?VK-Rechnungsmaske:=20"zur=C3=BCck"-Link=20hinzug?= =?utf8?q?ef=C3=BCgt,=20um=20z.B.=20zur=20Berichtsliste=20zur=C3=BCckzukeh?= =?utf8?q?ren?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Dieser Link ruft das gespeicherte callback auf, falls vorhanden. --- bin/mozilla/is.pl | 2 +- templates/webpages/is/form_footer.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 286e9ab5e..e184cd8cb 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -840,7 +840,7 @@ sub post { $form->{action} = 'edit'; $form->{script} = 'is.pl'; $form->{saved_message} = $form->{label} . " $form->{invnumber} " . $locale->text('posted!'); - $form->{callback} = build_std_url(qw(action edit id saved_message)); + $form->{callback} = build_std_url(qw(action edit id callback saved_message)); $form->redirect; } diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index fdbdc21b8..2c271dd61 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -191,6 +191,10 @@ [% END %] [% END %] + [% IF callback %] + [% 'back' | $T8 %] + [% END %] + -- 2.20.1