From b5e46f6bf860308a530836d4cc92e629f8f671ae Mon Sep 17 00:00:00 2001 From: Rajat Jain Date: Fri, 27 Nov 2020 16:32:01 +0530 Subject: [PATCH] Fixed empty text not appearing after deleting bulk Routines Signed-off-by: Rajat Jain --- js/src/rte.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/src/rte.js b/js/src/rte.js index 3ff05e7519..4ed4392bac 100644 --- a/js/src/rte.js +++ b/js/src/rte.js @@ -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) {