Skip to content

Commit

Permalink
FIX takepos layout clear or focus search
Browse files Browse the repository at this point in the history
fix focus for compatibility with barcode scanner
  • Loading branch information
ptibogxiv committed Sep 2, 2019
1 parent 8cff008 commit f9df175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/takepos/takepos.php
Expand Up @@ -149,7 +149,7 @@
function ClearSearch() {
console.log("ClearSearch");
$("#search").val('');
<?php if ($conf->browser->layer == 'classic') { ?>
<?php if ($conf->browser->layout == 'classic') { ?>
setFocusOnSearchField();
<?php } ?>
}
Expand Down

0 comments on commit f9df175

Please sign in to comment.