{ "id": "61311", "key": "TIMOB-679", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11222", "name": "Release 1.2.0", "archived": true, "released": true, "releaseDate": "2010-04-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:53.000+0000", "created": "2011-04-15T02:34:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:53.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

doing this:

\n

var win = Ti.UI.createWindow();
\nvar b = Ti.UI.createButton({title:'foo', height:40,\nwidth:200});
\nwin.add(b);

\n

b.addEventListener('click', function(){alert('clicked')});

\n

b.fireEvent('click');

{html}", "attachment": [], "flagged": false, "summary": "fireEvent('click') not working for button objects", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123790", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [34054f844730a62a4bc57356aa6164a4d642eaa8])\n- [#679 state:resolved] fixed fireEvent issue on\nregular proxies when calling from JS - initial add of document\nviewer for ipad, not fully working well yet \nhttp://github.com/appcelerator/titanium_mobile/commit/34054f844730a...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:16.000+0000", "updated": "2011-04-15T02:34:16.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }