mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-27 02:38:01 -05:00
Refresh only editd rows after bulk refresh
This commit is contained in:
@@ -276,7 +276,7 @@ function update_sortable_table()
|
||||
function get_table_row(id) {
|
||||
id = id || $("input[name='sale_id']").val();
|
||||
var $element = $("#sortable_table tbody :checkbox[value='" + id + "']");
|
||||
if ($element.index() === -1) {
|
||||
if ($element.length === 0) {
|
||||
$element = $("#sortable_table tbody a[href*='" + id + "']");
|
||||
}
|
||||
return $element;
|
||||
|
||||
Reference in New Issue
Block a user