{ "id": "118854", "key": "MOD-1904", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14610", "description": "Items waiting to be scheduled", "name": "Backlog", "archived": false, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-18T07:53:40.000+0000", "created": "2013-08-21T08:11:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity", "styledlabel" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:22.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": [ { "id": "14536", "name": "StyledLabel" } ], "description": "Given the following code, the click-event fires twice. The second one showing `e.url` as `undefined`:\r\n\r\n{code:javascript}\r\nvar StyledLabel = require('ti.styledlabel');\r\n\r\nvar w = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar l = StyledLabel.createLabel({\r\n\thtml : 'Appcelerator'\r\n});\r\n\r\nl.addEventListener('click', function(e) {\r\n\tTi.API.info('URL ' + e.url);\r\n});\r\n\r\nw.add(l);\r\n\r\nw.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: StyledLabel: Click event fires twice, second without e.url", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK/CLI 3.1.2.GA\r\nMac OS X 10.8.4\r\nAndroid 2.3.6", "closedSprints": [ { "id": 624, "state": "closed", "name": "2016 Sprint 09 SDK", "startDate": "2016-04-23T00:39:45.452Z", "endDate": "2016-05-07T00:39:00.000Z", "completeDate": "2016-05-09T03:43:10.279Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "267638", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed with ti.styledlabel 2.0 with Ti SDK 3.1.2 GA and 3.2 CI on Samsung Galaxy S2 Android 2.3.6. Works in iOS 6 simulator.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-22T17:41:39.000+0000", "updated": "2013-08-22T17:41:39.000+0000" }, { "id": "267639", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note that the module is open source: https://github.com/appcelerator/titanium_modules/tree/master/styledlabel", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-22T17:43:21.000+0000", "updated": "2013-08-22T17:43:21.000+0000" }, { "id": "267640", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I got the hint [~dsefton], but Android native is not my cup of tea ;)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-08-22T17:46:09.000+0000", "updated": "2013-08-22T17:46:09.000+0000" }, { "id": "440132", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:22.000+0000", "updated": "2018-08-06T17:49:22.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }