{ "id": "63429", "key": "TIMOB-2797", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:29:48.000+0000", "created": "2011-04-15T03:29:47.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "currenttab", "ios", "tab" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T21:02:47.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
The Q&A section describes this pretty well.
\n\nhttp://developer.appcelerator.com/question/98501/titaniumuicurrentt...
\nAs James Wright mentioned, it should really be the job of the\nframework to handle this. Espeially, since you propagate the\none-context approach in your documents. I'm running into this very\nproblem today.
Related to #2786.
CurrentTab specifies the tab owning the window owning the\ncontext. That is, it's akin to currentWindow. The code sample in\nquestion is in app.js, which is not owned by any window, thus, no\ncurrentWindow, no currentTab.