From 8883c99f14aa39f4a545aacf4bfa644a4ec4ac43 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 18 Jan 2021 14:12:42 +0800 Subject: [PATCH] Roo/bootstrap/Card.js --- Roo/bootstrap/Card.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Roo/bootstrap/Card.js b/Roo/bootstrap/Card.js index f17fd66138..40f5433fc9 100644 --- a/Roo/bootstrap/Card.js +++ b/Roo/bootstrap/Card.js @@ -613,10 +613,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { // remove Card from items. - var old_parent = move_card.parent(); - - old_parent.items = old_parent.items.filter(function(e) { return e != move_card }); - + if (this.items.length) { var nitems = []; //Roo.log([info.items_n, info.position, this.items.length]); -- 2.39.2