{ "id": "68076", "key": "TIMOB-5570", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-27T10:18:09.000+0000", "created": "2011-06-07T00:56:36.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-03T23:23:41.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": "Can't represent event 'error' in webView. Event 'load' fired when loading any type of URL.\r\n{code:JavaScript}\r\nvar win = Ti.UI.currentWindow;\r\n\r\nvar tf = Ti.UI.createTextField({\r\n\tleft: 10,\r\n\ttop: 5,\r\n\twidth: 320,\r\n\theight: 40\r\n});\r\n\r\nvar webView = Ti.UI.createWebView({\r\n\ttop: 50,\r\n\tleft: 10,\r\n\twidth: 300,\r\n\theight: 300,\r\n\turl: 'google.com/404',\r\n\tbackgroundColor: 'red'\r\n});\r\n\r\nwin.add(tf);\r\nwin.add(webView);\r\n\r\ntf.addEventListener('return',function(){\r\n\twebView.url = tf.value;\r\n});\r\n\r\nwebView.addEventListener('beforeload', function(){\r\n\talert('Page loading begins');\r\n});\r\n\r\nwebView.addEventListener('load',function(){\r\n\talert('Page loaded');\r\n});\r\n\r\nwebView.addEventListener('error',function(){\r\n\talert('page cannot be load');\r\n});\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: not working event 'error' in webView", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "environment": null, "comment": { "comments": [ { "id": "146946", "author": { "name": "mnegadaylov", "key": "mnegadaylov", "displayName": "Maxim Negadaylov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "still not working", "updateAuthor": { "name": "mnegadaylov", "key": "mnegadaylov", "displayName": "Maxim Negadaylov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-07T03:54:47.000+0000", "updated": "2011-06-07T03:54:47.000+0000" }, { "id": "180893", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This issue has been fixed by TIMOB-7226.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-27T10:18:09.000+0000", "updated": "2012-01-27T10:18:09.000+0000" }, { "id": "409072", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as MobileWeb is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T23:23:41.000+0000", "updated": "2017-03-03T23:23:41.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }