Refresh only editd rows after bulk refresh

This commit is contained in:
jekkos-t520 committed 2014-11-25 08:32:55 +01:00
1 parent f88baad4b7
commit 62977bf89f
1 file changed
+1 -1
+1 -1
View File
@@ -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;