From e118f062c6c7a93e964d7b887b248314538d7cae Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Mar 2021 15:15:12 +0800 Subject: [PATCH] Roo/dd/DropTarget.js --- Roo/dd/DropTarget.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Roo/dd/DropTarget.js b/Roo/dd/DropTarget.js index 5595f21917..7d05df6a3d 100644 --- a/Roo/dd/DropTarget.js +++ b/Roo/dd/DropTarget.js @@ -43,7 +43,7 @@ Roo.dd.DropTarget = function(el, config){ * target. This default implementation adds the CSS class specified by overClass (if any) to the drop element * and returns the dropAllowed config value. This method should be overridden if drop validation is required. * - * IMPORTANT : it should set this.overClass and this.dropAllowed + * IMPORTANT : it should set this.valid to true|false * * @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target * @param {Event} e The event @@ -57,7 +57,7 @@ Roo.dd.DropTarget = function(el, config){ * This method will be called on every mouse movement while the drag source is over the drop target. * This default implementation simply returns the dropAllowed config value. * - * IMPORTANT : it should set this.dropAllowed + * IMPORTANT : it should set this.valid to true|false * * @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target * @param {Event} e The event @@ -71,6 +71,7 @@ Roo.dd.DropTarget = function(el, config){ * out of the target without dropping. This default implementation simply removes the CSS class specified by * overClass (if any) from the drop element. * + * * @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target * @param {Event} e The event * @param {Object} data An object containing arbitrary data supplied by the drag source -- 2.39.2