Merge pull request #11806 from ptibogxiv/patch-251
FIX takepos layout clear or focus search
This commit is contained in:
commit
8bffbb2202
@ -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 } ?>
|
||||
}
|
||||
@ -349,6 +349,7 @@ function deleteline() {
|
||||
$("#poslines").load("invoice.php?action=deleteline&place="+place+"&idline="+selectedline, function() {
|
||||
//$('#poslines').scrollTop($('#poslines')[0].scrollHeight);
|
||||
});
|
||||
ClearSearch();
|
||||
}
|
||||
|
||||
function Customer() {
|
||||
@ -398,6 +399,7 @@ function New() {
|
||||
$("#poslines").load("invoice.php?action=delete&place="+place, function() {
|
||||
//$('#poslines').scrollTop($('#poslines')[0].scrollHeight);
|
||||
});
|
||||
ClearSearch();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user