]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/projects.pl
korrekte Umwandlung des Grad-Symbols für Latex-Vorlagen
[mfinanz.git] / bin / mozilla / projects.pl
index d340ddb7fe353d8bb1cc6cbcfb62de32afe5b456..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');
@@ -234,8 +235,8 @@ sub save {
   if(!exists $form->{addition} && $project->{id} ne "") {
     $form->{id}       = $project->{id};
     $form->{snumbers} = qq|projectnumber_| . $project->{projectnumber};
-       $form->{addition} = "SAVED";
-       $form->save_history($form->dbconnect(\%myconfig));
+    $form->{addition} = "SAVED";
+    $form->save_history;
   }
   # /saving the history
 
@@ -277,8 +278,8 @@ sub delete {
   # saving the history
   if(!exists $form->{addition}) {
     $form->{snumbers} = qq|projectnumber_| . $project->{projectnumber};
-       $form->{addition} = "DELETED";
-       $form->save_history($form->dbconnect(\%myconfig));
+    $form->{addition} = "DELETED";
+    $form->save_history;
   }
   # /saving the history