From: Sven Schöling Date: Fri, 26 Oct 2012 11:25:00 +0000 (+0200) Subject: fokus in Einkaufsrechnungen gefixt X-Git-Tag: release-3.0.0beta1~89 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=787062c9172e3eca0756c21d9cc5652e44e5a643;p=kivitendo-erp.git fokus in Einkaufsrechnungen gefixt --- diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 8a8df0ba2..0a468615e 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -328,7 +328,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.vendor"; + $::request->{layout}->focus('#vendor'); my $follow_up_vc = $form->{vendor}; $follow_up_vc =~ s/--\d*\s*$//; diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index d8c026e4a..4065b039e 100644 --- a/templates/webpages/ir/form_header.html +++ b/templates/webpages/ir/form_header.html @@ -33,6 +33,7 @@ [% 'Vendor' | $T8 %] [%- INCLUDE 'generic/multibox.html' + id = 'vendor', name = 'vendor', style = 'width: 250px', DATA = ALL_VENDORS,