[Pkg-javascript-commits] [dojo] 08/21: Do not treat touch events as drag events on links.

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:53 UTC 2014


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

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

commit a923d6619dcaffee89a43b1f5d78238eb0d826fe
Author: Ed Hager <ehager at sitepen.com>
Date:   Tue Oct 1 15:42:45 2013 +0000

    Do not treat touch events as drag events on links.
    
    Refs #17447.
    
    (cherry picked from commit a677bb13e24edde58e1adb334c08a628b6ae08da)
---
 dnd/common.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dnd/common.js b/dnd/common.js
index d209d9e..015fe87 100644
--- a/dnd/common.js
+++ b/dnd/common.js
@@ -37,7 +37,7 @@ exports.isFormElement = function(/*Event*/ e){
 	if(t.nodeType == 3 /*TEXT_NODE*/){
 		t = t.parentNode;
 	}
-	return " button textarea input select option ".indexOf(" " + t.tagName.toLowerCase() + " ") >= 0;	// Boolean
+	return " a button textarea input select option ".indexOf(" " + t.tagName.toLowerCase() + " ") >= 0;	// Boolean
 };
 
 return exports;

-- 
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