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]
/
manufacturing
/
manage
/
bom_edit.php
diff --git
a/manufacturing/manage/bom_edit.php
b/manufacturing/manage/bom_edit.php
index 94cc504c746759a850cbc263774972678b3c93b2..9399d99bc46405794519ba707d858b5a13b47eb1 100644
(file)
--- a/
manufacturing/manage/bom_edit.php
+++ b/
manufacturing/manage/bom_edit.php
@@
-119,6
+119,7
@@
function on_submit($selected_parent, $selected_component=null)
if (!check_num('quantity', 0))
{
display_error(_("The quantity entered must be numeric and greater than zero."));
+ set_focus('quantity');
return;
}