{ "id": "62076", "key": "TIMOB-1444", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-31T22:03:19.000+0000", "created": "2011-04-15T02:53:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "ipad", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [ { "id": "15529", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "86488", "key": "TIMOB-7656", "fields": { "summary": "iOS: include \"hide\" method to the OptionDialog", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "15408", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "86488", "key": "TIMOB-7656", "fields": { "summary": "iOS: include \"hide\" method to the OptionDialog", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-31T22:10:52.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}
Just created a new two button optiondialog on an ipad\r\nwebview.
\r\nwhen it is shown on the page only the first of the options is\r\nshown
\r\nvar dialog = Titanium.UI.createOptionDialog({
\r\n title: 'you have options',\r\n options: ['option 1','option 2'],\r\n destructive:0,\r\n cancel:1\r\n});
\r\n
\r\ndialog.show();
\r\nif you place a third option the resulting optiondialog has 1 and\r\na half buttons,
\r\nvar dialog = Titanium.UI.createOptionDialog({
\r\n title: 'you have options',\r\n options: ['Option 1','Option 2',''],\r\n destructive:0,\r\n cancel:1\r\n});
\r\n
\r\ndialog.show();
\r\nimages attached for your convenience
If you remove the \"cancel: 1\" property, both options will be\nshown.
\n\nTi.UI.createWindow({backgroundColor: '#fff'}).open();\n\nTitanium.UI.createOptionDialog({\n title: 'Hello',\n options: ['Option 1','Option 2']\n}).show();
\n
\n