X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fgl_account_types.php;h=6426408f45c0d6da787a0c19628094d7076dcd5f;hb=570a9b11ac5a56bf97aeef669838ef45abaf65a4;hp=915835d81d509a0bb3c71135b1506347363837fa;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/gl/manage/gl_account_types.php b/gl/manage/gl_account_types.php index 915835d8..6426408f 100644 --- a/gl/manage/gl_account_types.php +++ b/gl/manage/gl_account_types.php @@ -29,6 +29,7 @@ function can_process() if (strlen($_POST['name']) == 0) { display_error( _("The account group name cannot be empty.")); + set_focus('name'); return false; } @@ -164,7 +165,7 @@ if ($selected_id != "") text_row_ex(_("Name:"), 'name', 50); -gl_account_types_list_row(_("Subgroup Of:"), 'parent', null, true, _("None"), true); +gl_account_types_list_row(_("Subgroup Of:"), 'parent', null, _("None"), true); class_list_row(_("Class Type:"), 'class_id', null);