Skip to content

Commit

Permalink
Fix: focus to itemCode text field
Browse files Browse the repository at this point in the history
  • Loading branch information
idoalit authored Jul 25, 2016
1 parent fe12324 commit 0c1789d
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 0c1789d

Please sign in to comment.