{ "id": "122860", "key": "TIMOB-16101", "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": "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": "2020-05-19T16:03:16.000+0000", "created": "2013-11-24T19:29:28.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-05-19T16:03:16.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h3. Steps to Reproduce\nWhen I use LiveView in Appcelerator Studio, the $.resetClass() Alloy function don't work…\n\n$.resetClass reset all styles but don't add the new class (2nd argument of the function).\n\nExample: $.resetClass('myLabel', 'Label Red'); \n\nWithout LiveView, is work well !\n\nh3. Actual Result\n$.resetClass don't apply new classes (reset all styles)\n\nh3. Expected Result\n$.resetClass() apply new classes", "attachment": [ { "id": "44135", "filename": ".log", "author": { "name": "timoa", "key": "timoa", "displayName": "Damien Laureaux", "active": true, "timeZone": "Europe/London" }, "created": "2013-11-24T19:29:36.000+0000", "size": 684776, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "44136", "filename": "diagnostic5684521069383408635.log", "author": { "name": "timoa", "key": "timoa", "displayName": "Damien Laureaux", "active": true, "timeZone": "Europe/London" }, "created": "2013-11-24T19:29:40.000+0000", "size": 21543, "mimeType": "application/octet-stream; charset=ISO-8859-1" } ], "flagged": false, "summary": "LiveView don't apply new classes with Alloy $.resetClass()", "creator": { "name": "timoa", "key": "timoa", "displayName": "Damien Laureaux", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Appcelerator Studio 3.1.3", "comment": { "comments": [ { "id": "281355", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Damien,\r\ncan you please provide a testcase in the form of single app.js that reproduces the issue? \r\n\r\nTIA!\r\n\r\nBest,\r\nMauro. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-26T06:40:52.000+0000", "updated": "2013-11-26T06:40:52.000+0000" }, { "id": "281797", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "(from Mostafizur):\n\n\nI have tested this issue with my test code. I got this issue.\n\nh5. Testing environment: \n\nOS: MAC OS X 10.8.5\nTi SDK: 3.1.3 GA \nTi CLI: 3.2.0 \nIOS simulator 6.0 and 7.0\nAlloy 1.2.2\n\nh5. Test code \n\nh5. index.xml\n{code}\n \n\t\n\t\t