{ "id": "62279", "key": "TIMOB-1647", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11251", "name": "Sprint 2011-16", "archived": true, "released": true, "releaseDate": "2011-04-25" } ], "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-04-21T18:03:15.000+0000", "created": "2011-04-15T02:58:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "group", "ios", "ipad", "nav" ], "versions": [], "issuelinks": [], "assignee": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-09T10:55:25.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Using 1.4 on 3.2 when a window sets a left & right nav\nbutton when that window is closed via the nav, those buttons are\nnot destroyed from view. below code demonstrates.
\n// app.js //
\nvar win1 = Ti.UI.createWindow({
\nbackgroundColor: 'white',\ntitle: 'Nav Group'
\n
\n}); var label1 = Ti.UI.createLabel({
\ntext: 'Open Child Window',\nleft: 10,\ntop: 10
\n
\n}); win1.add(label1);
\nvar group = Ti.UI.iPhone.createNavigationGroup({
\nwindow: win1
\n
\n});
\nvar main = Ti.UI.createWindow();
\nmain.add(group);
main.open();
\nlabel1.addEventListener('click',function() {
\nvar win2 = Ti.UI.createWindow({\n title: 'Child Window',\n backgroundColor: 'white'\n}); \n\nvar nextButton = Ti.UI.createButton({\n title: 'Next'\n});\n\nvar backButton = Ti.UI.createButton({\n title: 'Back'\n});\n\nwin2.rightNavButton = nextButton;
\n
\n// win2.leftNavButton = backButton;
\n\nbackButton.addEventListener('click',function() {\n group.close(win2);\n});\ngroup.open(win2);
\n
\n});
Watch \nhttps://github.com/appcelerator/titanium_mobile/tree/ios_window_ref...\nfor codefixes on this.
Moving navigation issues to Sprint 16.