[Pkg-javascript-commits] [dojo] 02/07: Fixes IE event connect issue on 1.3 branch, fixes #9093. !strict Thanks, jfcunat

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


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

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

commit a8b6e963e22ff5b0a6f6c228d2aa97bc01cc951e
Author: Adam Peller <github at peller.org>
Date:   Mon Apr 13 13:26:12 2009 +0000

    Fixes IE event connect issue on 1.3 branch, fixes #9093.  !strict Thanks, jfcunat
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.3/dojo@17273 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 _base/event.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/_base/event.js b/_base/event.js
index 96150de..0e8924c 100644
--- a/_base/event.js
+++ b/_base/event.js
@@ -546,8 +546,9 @@ if(dojo.isIE){
 		var lls = [].concat(ls);
 		// invoke listeners after target function
 		for(var i in lls){
-			if(!(i in ap)){
-				h[lls[i]].apply(sender, args);
+			var f = h[lls[i]];
+			if(!(i in ap) && f){
+				f.apply(sender, args);
 			}
 		}
 		return r;

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