Stop propagation for all events, not just single finger ones.

This commit is contained in:
Ross Boucher authored and tlrobinson committed 2009-02-22 17:18:15 -08:00
1 parent b1fc23af08
commit 1c79db2303
1 file changed
+8 -6
+8 -6
View File
@@ -911,19 +911,21 @@ var CTRL_KEY_CODE = 17;
newEvent.stopPropagation = function(){if(aDOMEvent.stopPropagation) aDOMEvent.stopPropagation()};
[self _bridgeMouseEvent:newEvent];
/*if (aDOMEvent.preventDefault)
return;
}
else
{
if (aDOMEvent.preventDefault)
aDOMEvent.preventDefault();
if (aDOMEvent.stopPropagation)
aDOMEvent.stopPropagation();*/
return;
aDOMEvent.stopPropagation();
}
}
catch(e)
{
alert(e);
objj_exception_report(e, {path:@"CPDOMWindowBridge.j"});
}
// handle touch cases specifically