From 5762fccb7a7b34bf2286aeeceadda7cfa0ac3dfc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 26 Oct 2012 13:14:10 +0200 Subject: [PATCH] fokus in Stammdaten->Berichte->Kunden gefixt --- bin/mozilla/ct.pl | 2 +- templates/webpages/ct/search.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index b1634cbe6..0ce8f5421 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -103,7 +103,7 @@ sub search { $form->{jsscript} = 1; $form->{title} = $form->{IS_CUSTOMER} ? $locale->text('Customers') : $locale->text('Vendors'); - $form->{fokus} = 'Form.name'; + $::request->{layout}->focus('#name'); $form->header(); print $form->parse_html_template('ct/search'); diff --git a/templates/webpages/ct/search.html b/templates/webpages/ct/search.html index 41302471e..2d78134fe 100644 --- a/templates/webpages/ct/search.html +++ b/templates/webpages/ct/search.html @@ -15,7 +15,7 @@ [% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %] - + -- 2.20.1