mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-23 03:05:00 -04:00
Refresh only editd rows after bulk refresh
This commit is contained in:
1 parent
f88baad4b7
commit
62977bf89f
1 file changed
+1
-1
+1
-1
@@ -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