From 72f6efc5a4b48e6985a7f8ac0e34ea1b23b6571e Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 18 Dec 2013 05:27:48 +0000 Subject: [PATCH] [MRM-1789] Register link appears after logging in and back out even "Disable registration Link" is checked git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551850 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp/src/main/webapp/js/archiva/main.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js index fa60b2b68..29473a3d8 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js @@ -95,9 +95,6 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa url: 'restServices/redbackServices/loginService/logout' } ).always( function(){ - // go to welcome on logout - //window.sammyArchivaApplication.setLocation("#welcome"); - //$.log("displayWelcome"); window.sammyArchivaApplication.setLocation("#welcome"); displayWelcome(); } @@ -772,9 +769,9 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa displayWelcome=function(){ checkCreateAdminLink(function(){ - //window.sammyArchivaApplication.setLocation("#search") $("#main-content" ).html($("#welcome" ).tmpl({runtimeInfo: window.archivaRuntimeInfo})); drawQuickSearchAutocomplete("#quick-search-autocomplete-welcome"); + updateAppearanceToolBar(); }); }; -- 2.39.5