Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10315] Blackberry: Titanium.UI.TableView 'click' event index property is wrong type

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2012-09-12T07:58:09.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsBlackBerry
Labelsn/a
ReporterHayk Zakaryan
AssigneeHarutyn Movsisyan
Created2012-08-06T01:03:16.000+0000
Updated2017-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

FileDateSize
listView.patch2012-09-11T23:12:01.000+0000661

Comments

  1. Harutyn Movsisyan 2012-09-11

    Find attached fix of this bug.
  2. Lee Morris 2017-03-03

    Closing ticket as Blackberry is no longer supported.

JSON Source