{ "id": "79540", "key": "TIMOB-5640", "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": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2011-08-26T05:54:24.000+0000", "created": "2011-08-23T07:58:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T06:07:31.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": "activityIndicator does not work. \r\nHow to reproduce: Launch KitchenSink_HTML5 -> Activity indicator - > click \"Show activity indicator\".\r\n{code:JavaScript}\r\nvar win = Ti.UI.currentWindow;\r\nwin.backgroundColor = '#eee';\r\n\r\nvar actInd = Ti.UI.createActivityIndicator({\r\n\tmessage: 'Activity Indicator',\r\n\tfont:{fontStyle:'italic'},\r\n\tcolor:'red',\r\n\twidth: 200,\r\n\theight: 30,\r\n\ttop: 10,\r\n\tleft: 50,\r\n\tstyle:Ti.UI.iPhone.ActivityIndicatorStyle.PLAIN\r\n});\r\n\r\nvar basicButton = Ti.UI.createButton({\r\n\ttitle:'Show activity indicator',\r\n\ttop: 100,\r\n\tleft: 10,\r\n\twidth: 300,\r\n\theight: 40,\r\n\tfont:{fontSize:18}\r\n});\r\n\r\nvar advancedButton = Ti.UI.createButton({\r\n\ttitle: 'Change indicator',\r\n\ttop: 150,\r\n\tleft: 10,\r\n\twidth: 300,\r\n\theight: 40,\r\n\tfont:{fontSize:18}\r\n});\r\n\r\nvar closeButton = Ti.UI.createButton({\r\n\ttitle:'Close Window',\r\n\theight:40,\r\n\twidth:300,\r\n\tleft:10,\r\n\ttop:200,\r\n\tfont:{fontSize:18}\r\n});\r\n\r\ncloseButton.addEventListener('click', function(){\r\n\twin.close();\r\n});\r\n\r\nbasicButton.addEventListener('click', function(){\r\n\tif (!actInd.visible){\r\n\t\tactInd.show();\r\n\t\tbasicButton.title = 'Hide activity indicator';\t\t\r\n\t}\r\n\telse{\r\n\t\tactInd.hide();\r\n\t\tbasicButton.title = 'Show activity indicator';\r\n\t}\r\n});\r\nvar state=0;\r\nadvancedButton.addEventListener('click',function(){\r\n\t\r\n\tswitch (state)\r\n\t{\r\n\t\tcase 0:{\r\n\t\t\tactInd.style = Ti.UI.iPhone.ActivityIndicatorStyle.BIG;\r\n\t\t\tactInd.message = 'BIG activity indicator';\r\n\t\t\tstate++;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tcase 1:{\r\n\t\t\tactInd.style = Ti.UI.iPhone.ActivityIndicatorStyle.DARK;\r\n\t\t\tactInd.message = 'DARK activity indicator';\r\n\t\t\tstate++;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tcase 2:{\r\n\t\t\tactInd.style = Ti.UI.iPhone.ActivityIndicatorStyle.PLAIN;\r\n\t\t\tactInd.message = 'PLAIN activity indicator';\r\n\t\t\tstate = 0;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\t\r\n\t}\r\n\t\r\n\t\r\n\t\r\n});\r\n\r\n\r\nwin.add(closeButton);\r\nwin.add(actInd);\r\nwin.add(basicButton);\r\nwin.add(advancedButton);\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: activityIndicator does not work", "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": "408771", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due to time passed and irrelevance of the ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T06:07:31.000+0000", "updated": "2017-03-03T06:07:31.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }