X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=project_edit.php;h=a2b27925e21848a792ad5046aca9a8e41a40a9f6;hb=a4093ac103388ffae1275c1c5937c4163901917d;hp=1402eb112e827e428e66280437e0dfc28f8b0993;hpb=ea116938e30f04a448b87956b7660baeec83876e;p=timetracker.git diff --git a/project_edit.php b/project_edit.php index 1402eb11..a2b27925 100644 --- a/project_edit.php +++ b/project_edit.php @@ -128,7 +128,7 @@ if ($request->isPost()) { } // isPost $smarty->assign('forms', array($form->getName()=>$form->toArray())); -$smarty->assign('onload', 'onLoad="document.projectForm.name.focus()"'); +$smarty->assign('onload', 'onLoad="document.projectForm.project_name.focus()"'); $smarty->assign('show_users', count($users) > 0); $smarty->assign('show_tasks', $show_tasks); $smarty->assign('title', $i18n->get('title.edit_project'));