[Pkg-javascript-commits] [dojo] 03/11: Porting over the fix for #5268.

David Prévot taffit at moszumanska.debian.org
Mon May 11 20:11:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.0.2
in repository dojo.

commit aa300eac40b406c5914148b70bac6ccb8ef23fac
Author: Eugene Lazutkin <eugene at lazutkin.com>
Date:   Sat Dec 1 04:15:19 2007 +0000

    Porting over the fix for #5268.
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.0/dojo/trunk@11666 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 dnd/Source.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dnd/Source.js b/dnd/Source.js
index 922296f..f05dd4c 100644
--- a/dnd/Source.js
+++ b/dnd/Source.js
@@ -200,7 +200,7 @@ dojo.declare("dojo.dnd.Source", dojo.dnd.Selector, {
 		}
 		var accepted = this.accept && this.checkAcceptance(source, nodes);
 		this._changeState("Target", accepted ? "" : "Disabled");
-		if(accepted){
+		if(accepted && this == source){
 			dojo.dnd.manager().overSource(this);
 		}
 		this.isDragging = true;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list