From: Sven Schöling Date: Fri, 26 Oct 2012 11:14:10 +0000 (+0200) Subject: fokus in Stammdaten->Berichte->Kunden gefixt X-Git-Tag: release-3.0.0beta1~91 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5762fccb7a7b34bf2286aeeceadda7cfa0ac3dfc;p=kivitendo-erp.git fokus in Stammdaten->Berichte->Kunden gefixt --- 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 %] - +