fokus in Stammdaten->Berichte->Kunden gefixt
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:14:10 +0000 (13:14 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:14:10 +0000 (13:14 +0200)
bin/mozilla/ct.pl
templates/webpages/ct/search.html

index b1634cb..0ce8f54 100644 (file)
@@ -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');
index 4130247..2d78134 100644 (file)
@@ -15,7 +15,7 @@
 
    <tr>
     <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</th>
-    <td><input name="name" size="35"></td>
+    <td><input id="name" name="name" size="35"></td>
    </tr>
 
    <tr>