fokus in Projektsuche gefixt
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:48:47 +0000 (13:48 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:48:47 +0000 (13:48 +0200)
bin/mozilla/projects.pl

index 4850e16..b7614ff 100644 (file)
@@ -92,7 +92,7 @@ sub search {
    $form->{CUSTOM_VARIABLES_INCLUSION_CODE}) = CVar->render_search_options('variables'      => $form->{CUSTOM_VARIABLES},
                                                                            'include_prefix' => 'l_',
                                                                            'include_value'  => 'Y');
-  $form->{fokus}    = 'Form.projectnumber';
+  $::request->{layout}->focus('#projectnumber');
 
   $form->header();
   print $form->parse_html_template('projects/search');