Skip to content

Commit

Permalink
Merge pull request #45 from idoalit/patch-2
Browse files Browse the repository at this point in the history
Fix: focus to itemCode text field
  • Loading branch information
dicarve authored Aug 17, 2016
2 parents 00b73f8 + 0c1789d commit 60d404d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/modules/stock_take/current.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
</fieldset>
<!-- give focus to itemCode text field -->
<script type="text/javascript">
Form.Element.focus('itemCode');
//Form.Element.focus('itemCode');
$('#itemCode').focus();
</script>
<div id="stError" class="errorBox" style="display: none;">&nbsp;</div>
<?php
Expand Down

0 comments on commit 60d404d

Please sign in to comment.