Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5816] MobileWeb: TableViewRow.js ClickEvent fails due to undefined variables in addEventListener

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2012-01-27T13:43:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterChristopher Spence
AssigneeChris Barber
Created2011-10-12T12:34:28.000+0000
Updated2014-01-28T23:44:50.000+0000

Description

Line 427 checks for variables _hasCheckObj, _hasChildObj, and _hasDetailObj to see if they're equiv to event.srcElement, but the above variables are no where to be found. Offending code: tableView.addEventListener('click', function(e) { ... Fix: Comment out line 427 of tableviewrow.js (for now) //detail: event.srcElement == _hasCheckObj || event.srcElement == _hasChildObj || event.srcElement == _hasDetailObj || false,

Comments

  1. Chris Barber 2012-01-27

    This issue is related to the old code and has been fixed in TIMOB-7220.

JSON Source