From 2d649f620d16aaecd424277e4e8260670509dacf Mon Sep 17 00:00:00 2001 From: iotashan Date: Wed, 5 Oct 2011 09:59:37 -0500 Subject: [PATCH] Fixed bug where home() would result in all windows being destroyed --- ep-002/Resources/NavigationController.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ep-002/Resources/NavigationController.js b/ep-002/Resources/NavigationController.js index 5bd58fd..e990ff0 100644 --- a/ep-002/Resources/NavigationController.js +++ b/ep-002/Resources/NavigationController.js @@ -46,5 +46,4 @@ exports.NavigationController.prototype.home = function() { for(var i = 1, l = windows.length; i < l; i++) { (this.navGroup) ? this.navGroup.close(windows[i]) : windows[i].close(); } - this.windowStack = [this.windowStack[0]]; //reset stack };