{ "id": "94081", "key": "AC-2982", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-02T10:12:23.000+0000", "created": "2012-06-29T01:16:17.000+0000", "labels": [ "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:47:59.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "function ApplicationTabGroup(Window) {\r\n\t//create module instance\r\n\tvar self = Ti.UI.createTabGroup();\r\n\t\r\n\t//create app tabs\r\n\tvar win1 = new Window('home'),\r\n\t\twin2 = new Window('settings');\r\n\t\r\n\tvar tab1 = Ti.UI.createTab({\r\n\t\ttitle: 'home',\r\n\t\ticon: '/images/KS_nav_ui.png',\r\n\t\twindow: win1\r\n\t});\r\n\twin1.containingTab = tab1;\r\n\t\r\n\tvar tab2 = Ti.UI.createTab({\r\n\t\ttitle: 'settings',\r\n\t\ticon: '/images/KS_nav_views.png',\r\n\t\twindow: win2\r\n\t});\r\n\twin2.containingTab = tab2;\r\n\t\r\n\tself.addTab(tab1);\r\n\tself.addTab(tab2);\r\n\t\r\n\tself.addEventListener('click',function(e){\r\n\t Ti.API.info(\"index:\"+e.index);\r\n\t});\r\n\t\r\n\treturn self;\r\n};\r\n\r\nmodule.exports = ApplicationTabGroup;\r\n\r\nWhen I click the tabs, nothing is firing.\r\nShould also work if you are clicking on an active tab too.", "attachment": [], "flagged": false, "summary": "TabGroup - Click Event", "creator": { "name": "pinkfloydim", "key": "pinkfloydim", "displayName": "Steven Marshall", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinkfloydim", "key": "pinkfloydim", "displayName": "Steven Marshall", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "[INFO] Titanium SDK version: 2.0.2 (05/30/12 10:21 2ff31a3)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.1", "comment": { "comments": [ { "id": "201113", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-02T09:59:39.000+0000", "updated": "2012-07-02T09:59:39.000+0000" }, { "id": "201212", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-02T10:12:23.000+0000", "updated": "2012-07-02T10:12:23.000+0000" }, { "id": "281049", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:10.000+0000", "updated": "2013-11-24T22:30:10.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }