FIX takepos layout clear or focus search

fix focus for compatibility with barcode scanner
This commit is contained in:
ptibogxiv 2019-09-02 21:26:44 +02:00 committed by GitHub
parent 8cff008156
commit f9df175efc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ if(localStorage.hasKeyboard) {
function ClearSearch() {
console.log("ClearSearch");
$("#search").val('');
<?php if ($conf->browser->layer == 'classic') { ?>
<?php if ($conf->browser->layout == 'classic') { ?>
setFocusOnSearchField();
<?php } ?>
}