You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/30 00:35:45 UTC

[royale-asjs] 02/13: Take care of case where you want to drop a dragged item outside app

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 3ad6ffc1d22f361e471ec722cbcdf4000bfd73e2
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Wed Dec 11 11:19:49 2019 +0200

    Take care of case where you want to drop a dragged item outside app
---
 .../org/apache/royale/html/beads/OutOfApplicationDropTargetBead.as   | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/frameworks/projects/DragDrop/src/main/royale/org/apache/royale/html/beads/OutOfApplicationDropTargetBead.as b/frameworks/projects/DragDrop/src/main/royale/org/apache/royale/html/beads/OutOfApplicationDropTargetBead.as
index 48dc322..e30bfc4 100644
--- a/frameworks/projects/DragDrop/src/main/royale/org/apache/royale/html/beads/OutOfApplicationDropTargetBead.as
+++ b/frameworks/projects/DragDrop/src/main/royale/org/apache/royale/html/beads/OutOfApplicationDropTargetBead.as
@@ -145,11 +145,6 @@ package org.apache.royale.html.beads
 				return;
 			}
 
-			if (DragEvent.dragInitiator) {
-				DragEvent.dragInitiator.acceptingDrop(_strand, "object");
-			}
-
-
 			// Let the dragInitiator know the drop has been completed.
 			if (DragEvent.dragInitiator) {
 				DragEvent.dragInitiator.acceptedDrop(_strand, "object");