{ "id": "149278", "key": "TIMOB-19114", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-07T16:40:44.000+0000", "created": "2015-06-30T13:32:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2015-09-03T21:33:03.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "The following example will show that the [Ti.UI.Windows.AppBarToggleButton:click|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Windows.AppBarToggleButton-event-click] event does not contain {{e.checked}} like documented. You'll have to use {{e.source.checked}} as a workaround until this has been resolved.\r\n\r\n{code:javascript}\r\nvar likeButton = Ti.UI.Windows.createAppBarToggleButton({\r\n icon: Ti.UI.Windows.SystemIcon.LIKEDISLIKE\r\n});\r\n\r\nlikeButton.addEventListener('click', function (e) {\r\n console.log(JSON.stringify(e, null, 2));\r\n});\r\n\r\nwin.add(Ti.UI.Windows.createCommandBar({\r\n items: [likeButton]\r\n}));\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Ti.UI.Windows.AppBarToggleButton:click does not include \"checked\" like documented", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 4.1.0 beta (4.1.0.v20150626223333)\r\nWindows 8.1 Enterprise\r\nEmulator 8-1-1", "closedSprints": [ { "id": 443, "state": "closed", "name": "2015 Sprint 14 Windows", "startDate": "2015-07-06T04:01:52.896Z", "endDate": "2015-07-19T03:59:00.000Z", "completeDate": "2015-07-20T22:18:14.505Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "362209", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI Core: 5.0.0-33\r\nAppc CLI NPM: 4.2.0-1\r\nTitanium SDK: 5.0.0.v20150902095518\r\nNokia Lumia 930 8.1\r\n\r\ne.checked now shows a true/false value on click\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-09-03T21:32:50.000+0000", "updated": "2015-09-03T21:32:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }