{ "id": "65841", "key": "TIMOB-5682", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "76268", "key": "TIMOB-5675", "fields": { "summary": "MobileWeb: Method add works incorrectly with some objects", "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": "Low", "id": "4" }, "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-29T18:51:05.000+0000", "created": "2011-05-27T02:32:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:28.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": "When adding a label to slider by method add the label does not appear. The label present in the code of slider element but i can't see it in a browser window. \r\n{code:JavaScript}\r\nvar win = Ti.UI.currentWindow;\r\n\r\nvar slider = Ti.UI.createSlider({\r\n\tvalue: 'the slider',\r\n\ttop: 10,\r\n\tleft: 10,\r\n\twidth: 200,\r\n\theight: 50,\r\n\tmin: 0,\r\n\tmax: 100\r\n});\r\n\r\n\r\nwin.add(slider);\r\n\r\nvar but = Ti.UI.createButton({\r\n\ttitle: 'add',\r\n\ttop: 100\r\n});\r\n\r\nwin.add(but);\r\n\r\nbut.addEventListener('click', function(){\r\n\tvar l1 = Ti.UI.createLabel ({\r\n\t\ttext: 'You add me!',\r\n\t\tbackgroundColor: 'red',\r\n\t\twidth: 40,\r\n\t\theight: 20,\r\n\t\tleft: 30,\r\n\t\ttop: 5\r\n\t});\r\n\tslider.add(l1);\r\n\talert('slider with label');\r\n});\r\n{code} ", "attachment": [], "flagged": false, "summary": "MobileWeb: Method add in slider object does not work correctly.", "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": "423187", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-29T18:51:05.000+0000", "updated": "2017-06-29T18:51:05.000+0000" }, { "id": "436386", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:28.000+0000", "updated": "2018-04-04T23:20:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }