fokus in Kunden und Lieferanten gefixt
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:41:53 +0000 (13:41 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:41:53 +0000 (13:41 +0200)
bin/mozilla/ct.pl

index 0ce8f54..a81f451 100644 (file)
@@ -465,8 +465,8 @@ sub form_header {
   $form->{contacts_label} = \&_contacts_label;
   $form->{taxzone_id}     = 0                                                               if !$form->{id};
   $form->{jsscript}       = 1;
-  $form->{fokus}          = "ct.greeting";
   $form->{SHIPTO_ALL}     = [ +{ shipto_id => '0', shiptoname => $::locale->text('All') }, @{ $form->{SHIPTO} } ];
+  $::request->{layout}->focus("#greeting");
 
   $form->{title} = $form->{title_save}
                 || $locale->text("$form->{title} " . ucfirst $form->{db}) . ($form->{title} eq "Edit" ? " $form->{name}" : '');