{ "id": "139704", "key": "AC-1393", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-11-14T23:44:29.000+0000", "created": "2014-11-13T17:02:39.000+0000", "labels": [ "TCSupportTriage", "alloy", "bubble", "button", "ios", "sdk-3.4" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "To avoid a button being pressed multiple times quickly, I have set the following code:\r\n\r\n\t\timageTickReq[x].addEventListener(\"touchend\", function(e) {\r\n\t\t\te.cancelBubble = true;\r\n\r\ndespite setting cancelBubble to true, my button event still bubbles, meaning the code is executed multiple times within that event listener.", "attachment": [], "flagged": false, "summary": "Button events bubble despite parent e.cancelBubble =false", "creator": { "name": "maveick2k", "key": "maveick2k", "displayName": "Samie Syed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "maveick2k", "key": "maveick2k", "displayName": "Samie Syed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "titanium sdk 3.4, iOS 7 and 8, iphone 4 and 6, alloy", "comment": { "comments": [ { "id": "332326", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello, \r\n\r\nThe pattern for that should be adding a transparent view on top of the button, \"disabling\" it. \r\n\r\nYou add it on the \"onClick\" event, and remove thre transparent view when your processing (i.e., function) ends. \r\n\r\nBest", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-11-14T23:44:29.000+0000", "updated": "2014-11-14T23:44:29.000+0000" }, { "id": "332330", "author": { "name": "maveick2k", "key": "maveick2k", "displayName": "Samie Syed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, \r\n\r\nWhat if the button is in the nav bar?\r\n\r\nThanks", "updateAuthor": { "name": "maveick2k", "key": "maveick2k", "displayName": "Samie Syed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-15T00:00:18.000+0000", "updated": "2014-11-15T00:00:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }