From e85ceeef750f0df8e670e7f04ee770701d6893f1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 17 Nov 2020 15:28:35 +0800 Subject: [PATCH] Roo/bootstrap/Card.js --- Roo/bootstrap/Card.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/Card.js b/Roo/bootstrap/Card.js index d524710cc4..42fd640f91 100644 --- a/Roo/bootstrap/Card.js +++ b/Roo/bootstrap/Card.js @@ -507,14 +507,16 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { // this could actually fail - if the Network drops.. // we will ignore this at present..- client should probably reload // the whole set of cards if stuff like that fails. - if (this.fireEvent("drop", this, n, dd, e, data) === false) { - return false; - } + var info = this.getTargetFromEvent(e,data.source.el); if (info === false) { return false; } + + if (this.fireEvent("drop", this, n, dd, e, data) === false) { + return false; + } this.dropPlaceHolder('hide'); -- 2.39.2