{ "id": "130748", "key": "TIMOB-17013", "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": "2014-05-23T17:31:08.000+0000", "created": "2014-05-21T22:22:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "37771", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "130213", "key": "TIMOB-16942", "fields": { "summary": "BlackBerry: FireEvent on webview is not working ", "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": "Medium", "id": "3" }, "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": "2017-03-20T16:50: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": "Steps to reproduce:\r\n1. Copy paste the code in classic Project and run the app.\r\n2. Click on WebView.\r\n\r\nActual Result:\r\nGetting only One alert.\r\nalert 1: click event received\r\n\r\nExpected Result:\r\nTwo alerts must be fired.\r\n alert 1: click event received\r\n alert 2: WebView received appClicked event\r\n\r\n\r\nBut Fire Event is working properly on both iOS and Android platforms\r\n\r\napp.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'black'\r\n});\r\n\r\nvar webview = Ti.UI.createWebView({\r\n\turl : \"test.html\"\r\n});\r\n\r\nwebview.addEventListener(\"click\", function() {\r\n\talert(\"click event received\");\r\n\tTi.App.fireEvent(\"appClicked\");\r\n});\r\n\r\nwin.add(webview);\r\nwin.open(); \r\n{code}\r\n\r\ntest.html\r\n{code}\r\n\r\n\t\r\n\t\tTest for textfields\r\n\t\t\r\n\t\r\n\t\r\n\t\tTesting fire event\r\n\t\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: FireEvent on webview is not working ", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc-Studio:3.3.0.201405080918\r\nsdk:3.3.0.v20140508135704\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\n", "closedSprints": [ { "id": 119, "state": "closed", "name": "2014 Sprint 11 Tooling", "startDate": "2014-05-27T16:30:27.477Z", "endDate": "2014-06-07T01:30:00.000Z", "completeDate": "2014-06-12T20:51:59.189Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "306258", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is a web limitation. The parent window cannot intercept click or touch events on iframes.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-23T17:30:56.000+0000", "updated": "2014-05-23T17:30:56.000+0000" }, { "id": "413703", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T16:50:43.000+0000", "updated": "2017-03-20T16:50:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }