]> wagnertech.de Git - kivitendo-erp.git/commitdiff
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 a59ecc978f56a50aa4a7ea00b349eb0d6674d4b6..f854a4af928142bba79f283b425bf47829123a2c 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 e7b030c44c318dbffbf2cab16d66730f1fd0a97a..25c74c3395f9dde16599b5c9679c18c53ce8740b 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>