{ "id": "155560", "key": "AC-3339", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-03-08T15:37:51.000+0000", "created": "2016-03-08T15:34:19.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T15:37:51.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": [], "description": "h3. Steps to Reproduce\nTitanium.UI.setBackgroundColor('#000');\n\nvar win2 = Titanium.UI.createWindow({\n\n backgroundColor : 'gray',\n\n title : 'Gray Window'\n\n});\n\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\n\n window : win2,\n\n swipeToClose : false\n\n});\n\nvar win3 = Titanium.UI.createWindow({\n\n backgroundColor : 'blue',\n\n title : 'Blue Window',\n\n swipeToClose : true\n\n});\n\nvar button = Titanium.UI.createButton({\n\n title : 'Click here',\n\n color : 'red',\n\n});\n\nwin2.add(button);\n\nbutton.addEventListener('click', function(e) {\n\n Ti.API.info('Click event fired');\n\n win1.openWindow(win3, {\n\n animated : true\n\n });\n\n});\n\nvar button2 = Titanium.UI.createButton({\n\n title : 'Click here',\n\n color : 'red',\n\n});\n\nwin3.add(button2);\n\nbutton2.addEventListener('click', function(e) {\n\n alert('Click event fired');\n\n});\n\nwin1.open(); \n\nh3. Actual Result\ntest\n\nh3. Expected Result\ntest", "attachment": [ { "id": "58544", "filename": ".log", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-08T15:36:36.000+0000", "size": 8868762, "mimeType": "text/plain" }, { "id": "58545", "filename": "diagnostic2079183700000326303.log", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-08T15:37:02.000+0000", "size": 845648, "mimeType": "text/plain" } ], "flagged": false, "summary": "test", "creator": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }