Die Projekt-Suchseite hat jetzt einen Fokus auf "Nummer".
authorSven Donath <lxo@dexo.de>
Wed, 1 Sep 2010 14:50:07 +0000 (16:50 +0200)
committerSven Donath <lxo@dexo.de>
Wed, 1 Sep 2010 14:50:07 +0000 (16:50 +0200)
(Stammdaten->Berichte->Projekte)

bin/mozilla/projects.pl
templates/webpages/projects/search.html

index a59ecc9..f854a4a 100644 (file)
@@ -92,6 +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")';
 
   $form->header();
   print $form->parse_html_template('projects/search');
index e7b030c..25c74c3 100644 (file)
@@ -1,7 +1,7 @@
 [%- USE T8 %]
-[% USE HTML %]<body>
+[% USE HTML %]<body onload="fokus()">
 
- <form method="post" action="projects.pl">
+ <form method="post" action="projects.pl" name="Form">
 
   <div class="listtop">[% title %]</div>
 
@@ -9,7 +9,7 @@
    <table>
     <tr>
      <th align="right">[% 'Number' | $T8 %]</th>
-     <td><input name="filter.projectnumber" size="20"></td>
+     <td><input name="filter.projectnumber" id="projectnumber" size="20"></td>
     </tr>
 
     <tr>