{ "id": "61346", "key": "TIMOB-714", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:35:01.000+0000", "created": "2011-04-15T02:35:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:12:49.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Base UI => Views => Image Views => Basic
\nlogs load event but it never happens
\nreported from:
\n'load' event does happen. It looks like the 'click' event is\ncaught by the table row and not passed along to the imageView in\nthe sample code provided with the helpdesk ticket. I can see if\nclick events can be passed through to subviews from table rows, so\nthat each view fires its own 'click' event.
Events are in fact propagated down the view. However, you need\nto perform a few sanity checks. The following code will, in fact,\nwork when clicking on a subelement of a row:
\n\n// Code to test if you clicked on an image view\n row.addEventListener ('click', function(e)\n {\n Logger.log(\"Source: \"+e.source);\n if (e.source.url != null) {\n Logger.log (\"[messages.js:addRow] ***** clicked on \" + e.source.url);\n }\n else {\n Logger.log(\"Clicked elsewhere!\");\n }\n });
\n
\nSee Base UI->Views->Table View->Layout 2 for more\nexamples about going clicky-clicky on stuff (including a better way\nto test for what type the source is; checking a property that\nexists for the source you want to check for is fuzzy).
\nMarking as invalid, since it's already fixed. Solution should be\nsent to the customer.