[TIMOB-10315] Blackberry: Titanium.UI.TableView 'click' event index property is wrong type
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-09-12T07:58:09.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Backlog |
| Components | BlackBerry |
| Labels | n/a |
| Reporter | Hayk Zakaryan |
| Assignee | Harutyn Movsisyan |
| Created | 2012-08-06T01:03:16.000+0000 |
| Updated | 2017-03-03T01:02:10.000+0000 |
Description
When adding 'click' event listener to TableView like
tableView.addEventListener('click',function(e){});
e Event's index property should be Number. For Blackberry it is now String.
Here is the output for checking object's property in JS (with code Object.prototype.toString.call(e.index)).
[INFO]:e.index type = [object String]
Attachments
Find attached fix of this bug.
Closing ticket as Blackberry is no longer supported.