{ "id": "126306", "key": "TIMOB-16457", "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": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-03-04T19:16:13.000+0000", "created": "2014-02-12T11:53:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "click", "mobileweb", "qe-closed-3.3.0", "regression", "rightnavbutton" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "35557", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "127022", "key": "TIMOB-16539", "fields": { "summary": "Windows Hybrid: NavGroup Button back button not closing window", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:44:43.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "On Mobile Web:\r\nButton in the navigation bar not displaying the alert when clicked. \r\nWorks fine on Ti 3.1.3, broken on Ti 3.2.0 and 3.2.1\r\n\r\n{code:javascript}\r\n\r\nvar tabg = Ti.UI.createTabGroup({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar win = Ti.UI.createWindow({\r\n\r\n});\r\n\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n\ttitle:'tab1',\r\n\twindow:win\r\n});\r\n\r\n\r\nvar btn = Ti.UI.createButton({\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\ttitle:'Done'\r\n});\r\n\r\n\r\nbtn.addEventListener('click', function(){\r\n\talert('hello');\r\n});\r\n\r\n\r\nwin.setRightNavButton(btn);\r\n\r\nvar btn2 = Ti.UI.createButton({\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\ttitle:'Done'\r\n});\r\n\r\n\r\nbtn2.addEventListener('click', function(){\r\n\talert('hello');\r\n});\r\n\r\nwin.add(btn2);\r\n\r\ntabg.addTab(tab1);\r\ntabg.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: Buttons in navigation bar do not listen to click event", "creator": { "name": "hini", "key": "hini", "displayName": "Hani Hamadeh", "active": true, "timeZone": "Asia/Beirut" }, "subtasks": [], "reporter": { "name": "hini", "key": "hini", "displayName": "Hani Hamadeh", "active": true, "timeZone": "Asia/Beirut" }, "environment": "OSX 10.8.5, Ti 3.2.0 and 3.2.1 (mobile web)", "comment": { "comments": [ { "id": "292873", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with 3.2.0 and 3.2.1 releases. This issue does not occur with 3.1.3 release so it is a regression.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-13T05:12:26.000+0000", "updated": "2014-02-13T05:12:26.000+0000" }, { "id": "295060", "author": { "name": "bogdansmc", "key": "bogdansmc", "displayName": "Bogdan Pankiv", "active": true, "timeZone": "Europe/Helsinki" }, "body": "The same issue in AlertDialog.\r\n\r\nSample code:\r\n\t\tvar dialog = Ti.UI.createAlertDialog({\r\n\t\t\tcancel : 1,\r\n\t\t\tbuttonNames : [L(\"ok\"), L(\"cancel\")],\r\n\t\t\ttitle : L(\"logout\"),\r\n\t\t\tmessage : L(\"logout_question\")\r\n\t\t});\r\n\t\t\r\n\t\tdialog.addEventListener(\"click\", function(e) {\r\n\t\t\talert(\"onclick\");\r\n\t\t});\r\n\t\tdialog.show();\r\n\r\nThis doesn't work in KitchenSink too (Base UI > Views > Alert Dialog). Click on any dialog type and all buttons are not clickable.", "updateAuthor": { "name": "bogdansmc", "key": "bogdansmc", "displayName": "Bogdan Pankiv", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-02-28T11:27:17.000+0000", "updated": "2014-02-28T11:27:17.000+0000" }, { "id": "295574", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-16539.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-04T19:16:13.000+0000", "updated": "2014-03-04T19:16:13.000+0000" }, { "id": "302269", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the fix with:\r\nAppcelerator Studio, build: 3.3.0.201404221437\r\nTitanium SDK, build 3.3.0.v20140418162516\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.4.0-dev\r\n├── node-appc@0.2.0\r\n├── npm@1.3.2\r\n├── titanium@3.3.0-dev\r\n└── titanium-code-processor@1.1.1-beta1\r\nnpm -g ls titanium: /usr/local/lib\r\n└── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422)\r\nXCode Version: 5.1.1\r\nbrowser: Safari Version 7.0.3", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T20:17:24.000+0000", "updated": "2014-04-23T20:17:24.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }