From a7d1bd78920045972aab7008a861dce0daafa22b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 26 Oct 2012 13:33:26 +0200 Subject: [PATCH] fokus in Debitorenbuchungen gefixt --- bin/mozilla/ar.pl | 2 +- templates/webpages/ar/form_header.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 8d0e89de9..f164997af 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -315,7 +315,7 @@ sub form_header { $taxcharts{$item->{id}} = $item; } - $form->{fokus} = "arledger.customer"; + $::request->{layout}->focus("#customer"); my $follow_up_vc = $form->{customer}; $follow_up_vc =~ s/--.*?//; diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index 7fa799f5f..363bb9d20 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -32,9 +32,9 @@ [% 'Customer' | $T8 %] [%- IF selectcustomer %] - + [%- ELSE %] - + [%- END %] [% L.hidden_tag('selectcustomer', selectcustomer) %] -- 2.20.1