From: Moritz Bunkus Date: Thu, 16 Jun 2011 12:13:59 +0000 (+0200) Subject: Bei Artikelauswahl "title" der Originalform nicht überschreiben X-Git-Tag: release-2.7.0beta1~387 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7f1ff6c83a866d6536c83aae0d24b8d87801d6ac;p=kivitendo-erp.git Bei Artikelauswahl "title" der Originalform nicht überschreiben --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index e15a15f36..7acf49db0 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -442,7 +442,8 @@ sub select_item { _check_io_auth(); - $::form->{title} = $::locale->text('Select from one of the items below'); + my $previous_form = $::auth->save_form_in_session(form => $::form); + $::form->{title} = $::locale->text('Select from one of the items below'); $::form->header; my @item_list = map { @@ -454,7 +455,7 @@ sub select_item { # delete action variable delete @{$::form}{qw(action item_list header)}; - print $::form->parse_html_template('io/select_item', { PREVIOUS_FORM => $::auth->save_form_in_session(form => $::form), + print $::form->parse_html_template('io/select_item', { PREVIOUS_FORM => $previous_form, MODE => $mode, ITEM_LIST => \@item_list, IS_PURCHASE => $mode eq 'IS' });