X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b65a230d60e86d2c18a3ab7222379905aea5ecd7..ec35cbcff8c79cdda05d56e8677a2251531f1166:/bin/mozilla/projects.pl diff --git a/bin/mozilla/projects.pl b/bin/mozilla/projects.pl index 0e74d53e2..f854a4af9 100644 --- a/bin/mozilla/projects.pl +++ b/bin/mozilla/projects.pl @@ -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'); @@ -235,7 +236,7 @@ sub save { $form->{id} = $project->{id}; $form->{snumbers} = qq|projectnumber_| . $project->{projectnumber}; $form->{addition} = "SAVED"; - $form->save_history($form->dbconnect(\%myconfig)); + $form->save_history; } # /saving the history @@ -278,7 +279,7 @@ sub delete { if(!exists $form->{addition}) { $form->{snumbers} = qq|projectnumber_| . $project->{projectnumber}; $form->{addition} = "DELETED"; - $form->save_history($form->dbconnect(\%myconfig)); + $form->save_history; } # /saving the history