{ "id": "88376", "key": "TIMOB-8158", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-09-01T09:21:08.000+0000", "created": "2012-03-21T10:58:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:37:05.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": "There doesn't seem to be a way to reference the 'done' button of a Ti.UI.iPad.DocumentViewer object. In other words, the customer would like to be able to call the 'done' button programmatically, something like DocumentViewer.close(); \r\nCurrently there is no way of doing this.\r\n\r\nHD ticket: http://support-admin.appcelerator.com/display/APP-658343", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.iPad.DocumentViewer add a property to reference the 'done' button", "creator": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "environment": null, "closedSprints": [ { "id": 944, "state": "closed", "name": "2017 Sprint 18 SDK", "startDate": "2017-08-27T21:13:39.311Z", "endDate": "2017-09-10T21:13:00.000Z", "completeDate": "2017-09-10T21:24:16.435Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "336179", "author": { "name": "korelogic", "key": "korelogic", "displayName": "Michael Hay", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can use the unload event ?\r\n\r\nhttp://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.iOS.DocumentViewer-event-unload", "updateAuthor": { "name": "korelogic", "key": "korelogic", "displayName": "Michael Hay", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-12T17:31:12.000+0000", "updated": "2014-12-12T17:31:12.000+0000" }, { "id": "427483", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "There is a method {{[hide|var win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\ttitle : 'sample'\r\n});\r\nvar lbl = Ti.UI.createLabel({\r\n\ttext : 'click to view doc viewer'\r\n});\r\nlbl.addEventListener('click', function() {\r\n\tvar docViewer = Ti.UI.iOS.createDocumentViewer();\r\n\tdocViewer.url = 'test.pdf';\r\n\tdocViewer.show();\r\n\t\r\n});\r\nwin.add(lbl);\r\nwin.open();]}} these day, resolving ticket!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-01T09:21:08.000+0000", "updated": "2017-09-01T09:21:08.000+0000" }, { "id": "439941", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:05.000+0000", "updated": "2018-08-06T17:37:05.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }