diff --git a/server/camlistored/ui/index.js b/server/camlistored/ui/index.js index 0d9af7420..1c4438ec1 100644 --- a/server/camlistored/ui/index.js +++ b/server/camlistored/ui/index.js @@ -139,7 +139,7 @@ camlistore.IndexPage.prototype.enterDocument = function() { this.eh_.listen( this.toolbar_, camlistore.Toolbar.EventType.GOSEARCH, function() { - window.open('./search.html', 'Search'); + window.location.href = "./search.html"; }); this.eh_.listen( diff --git a/server/camlistored/ui/search.js b/server/camlistored/ui/search.js index 1f059c045..94c58bfc6 100644 --- a/server/camlistored/ui/search.js +++ b/server/camlistored/ui/search.js @@ -160,7 +160,7 @@ camlistore.SearchPage.prototype.enterDocument = function() { this.eh_.listen( this.toolbar_, camlistore.Toolbar.EventType.HOME, function() { - window.open('./index.html', 'Home'); + window.location.href = "./index.html"; } );