{ "id": "86469", "key": "TIMOB-7651", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-01-09T21:33:20.000+0000", "created": "2012-02-14T12:07:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity", "tbs-2.1.0" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" } ], "issuelinks": [ { "id": "15189", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86476", "key": "TIDOC-387", "fields": { "summary": "APIDoc: Tab.close doc is incorrect", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2020-01-09T21:33:20.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "On iOS, the Tab.close() method takes two arguments: \r\n\r\n- a required Window argument (the window to close)\r\n- an optional options dict (close options)\r\n\r\nOn Android and Mobile Web, close() only takes the second argument. So:\r\n\r\nmyTab.close(window) \r\n\r\nFails on Android, and:\r\n\r\nmyTab.close()\r\n\r\nFails on iOS.\r\n\r\nAs an additional complication, however, I believe tab.close() is mostly used on iOS, so the tab group can track which window is open. On Android and MobileWeb, applications can achieve the same ends by calling window.close() directly.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Ti API: Ti.UI.Tab.close arguments differ by platform", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "183095", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If any changes are made to the APIs as a result of this issue, documentation will need to be updated.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-14T13:59:03.000+0000", "updated": "2012-02-14T13:59:03.000+0000" }, { "id": "453595", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. \r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T21:33:20.000+0000", "updated": "2020-01-09T21:33:20.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }