[TIMOB-679] fireEvent('click') not working for button objects
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:53:53.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.2.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:34:16.000+0000 |
| Updated | 2011-04-17T01:53:53.000+0000 |
Description
doing this:
var win = Ti.UI.createWindow();
var b = Ti.UI.createButton({title:'foo', height:40,
width:200});
win.add(b);
b.addEventListener('click', function(){alert('clicked')});
b.fireEvent('click');
(from [34054f844730a62a4bc57356aa6164a4d642eaa8]) - [#679 state:resolved] fixed fireEvent issue on regular proxies when calling from JS - initial add of document viewer for ipad, not fully working well yet http://github.com/appcelerator/titanium_mobile/commit/34054f844730a62a4bc57356aa6164a4d642eaa8"> http://github.com/appcelerator/titanium_mobile/commit/34054f844730a...