[TIMOB-5816] MobileWeb: TableViewRow.js ClickEvent fails due to undefined variables in addEventListener
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-01-27T13:43:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | n/a |
Reporter | Christopher Spence |
Assignee | Chris Barber |
Created | 2011-10-12T12:34:28.000+0000 |
Updated | 2014-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,
This issue is related to the old code and has been fixed in TIMOB-7220.