]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/projects.pl
Refactoring: if (...) { ... } in post-if umwandeln; weniger Hilfsvariablen; knappere...
[mfinanz.git] / bin / mozilla / projects.pl
index 46ce822fb7fcc7abca8ccc81cbbfbe67aeb77541..b7614ffc62c6a6ae9b698f7e602f312ab60d6427 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}    = 'getElementById("projectnumber")';
+  $::request->{layout}->focus('#projectnumber');
 
   $form->header();
   print $form->parse_html_template('projects/search');