X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fdd%2FDropTarget.js;h=7d05df6a3d59b143b605c7d5a4cf74d1f280899b;hp=5595f219173b02e65d5fc717c5481451beacbbd0;hb=d0b79e9bda4e08f7240e8c824bfc643d4f16b78e;hpb=b34d62126ce450a86d8af5e79059ea0f4a3529b8 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