#17004 closed defect (duplicate)
Object #<a MouseEvent> has no method 'stopImmediatePropagation' touch.js:115
Reported by: | Sebastien Pereira | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | General | Version: | 1.9.0b2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Method event.stopImmediatePropagation not supported on Android 2.x
Suggested patch:
Index: touch.js =================================================================== --- touch.js (revision 31184) +++ touch.js (working copy) @@ -112,7 +112,9 @@
if(!e._dojo_click &&
(new Date()).getTime() <= clickTime + 1000 && !(e.target.tagName == "INPUT" && domClass.contains(e.target, "dijitOffScreen"))){
- e.stopPropagation();
+ if(e.stopPropagation){ + e.stopPropagation(); + }
e.stopImmediatePropagation();
if(type == "click" && (e.target.tagName != "INPUT" e.target.type == "radio" e.target.type == "checkbox") && e.target.tagName != "TEXTAREA"){
Please ignore suggested patch in initial description. Correction should be: