projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Focus set to invalid field after submit check fail
[fa-stable.git]
/
gl
/
manage
/
bank_trans_types.php
diff --git
a/gl/manage/bank_trans_types.php
b/gl/manage/bank_trans_types.php
index bc9efacd755acaa01a605d7540e044ebb595d738..5f5267f3c1ed7d4a8cc618543733288454865e2e 100644
(file)
--- a/
gl/manage/bank_trans_types.php
+++ b/
gl/manage/bank_trans_types.php
@@
-33,6
+33,7
@@
if (isset($_POST['ADD_ITEM']) || isset($_POST['UPDATE_ITEM']))
{
$input_error = 1;
display_error( _("The bank transaction type name cannot be empty."));
+ set_focus('name');
}
if ($input_error != 1)