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]
/
inventory
/
cost_update.php
diff --git
a/inventory/cost_update.php
b/inventory/cost_update.php
index 392160392290e1f027b4d0fa34ec4ee1adc9df9e..16544599b89fac222e8c7ba76192cd4022581ceb 100644
(file)
--- a/
inventory/cost_update.php
+++ b/
inventory/cost_update.php
@@
-41,6
+41,7
@@
if (isset($_POST['UpdateData']))
!check_num('overhead_cost'))
{
display_error( _("The entered cost is not numeric."));
+ set_focus('material_cost');
$should_update = false;
}
elseif ($old_cost == $new_cost)