Merge #16507 - Fix #16498 - empty text not appearing after deleting bulk Routines

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-12-07 10:05:51 +01:00
commit 50497b5ed5
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -504,9 +504,7 @@ RTE.COMMON = {
});
} else {
$currRow.hide('fast', function () {
$(this).remove();
// Now we have removed the row from the list, but maybe
// some row classes are wrong now. So we will iterate
// we will iterate
// through all rows and assign correct classes to them.
/**
* @var ct Count of processed rows
@ -523,6 +521,7 @@ RTE.COMMON = {
ct++;
});
});
$currRow.remove();
}
if (returnCount === count) {
if (success) {