From: Sven Schöling Date: Fri, 26 Oct 2012 11:11:15 +0000 (+0200) Subject: fokus in Rechnung erstellen gefixt. X-Git-Tag: release-3.0.0beta1~92 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9f9bff6989cdc762ca34d232a91d45a5310aceed;p=kivitendo-erp.git fokus in Rechnung erstellen gefixt. --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 58d4c4f91..d5bd22946 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -350,7 +350,7 @@ sub form_header { $TMPL_VAR{creditwarning} = ($form->{creditlimit} != 0) && ($form->{creditremaining} < 0) && !$form->{update}; $TMPL_VAR{is_credit_remaining_negativ} = $form->{creditremaining} =~ /-/; - $form->{fokus} = "invoice.customer"; + $::request->{layout}->focus('#customer'); my $follow_up_vc = $form->{customer}; $follow_up_vc =~ s/--\d*\s*$//; diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html index 4178a219a..bbe05f0a4 100644 --- a/templates/webpages/is/form_header.html +++ b/templates/webpages/is/form_header.html @@ -34,6 +34,7 @@ [% 'Customer' | $T8 %] [%- INCLUDE 'generic/multibox.html' + id = 'customer', name = 'customer', style = 'width: 250px', DATA = ALL_CUSTOMERS,