mirror of https://github.com/apache/archiva.git
[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
This commit is contained in:
parent
5aa767e4cb
commit
72f6efc5a4
|
@ -95,9 +95,6 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
|
||||||
url: 'restServices/redbackServices/loginService/logout'
|
url: 'restServices/redbackServices/loginService/logout'
|
||||||
} ).always(
|
} ).always(
|
||||||
function(){
|
function(){
|
||||||
// go to welcome on logout
|
|
||||||
//window.sammyArchivaApplication.setLocation("#welcome");
|
|
||||||
//$.log("displayWelcome");
|
|
||||||
window.sammyArchivaApplication.setLocation("#welcome");
|
window.sammyArchivaApplication.setLocation("#welcome");
|
||||||
displayWelcome();
|
displayWelcome();
|
||||||
}
|
}
|
||||||
|
@ -772,9 +769,9 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
|
||||||
|
|
||||||
displayWelcome=function(){
|
displayWelcome=function(){
|
||||||
checkCreateAdminLink(function(){
|
checkCreateAdminLink(function(){
|
||||||
//window.sammyArchivaApplication.setLocation("#search")
|
|
||||||
$("#main-content" ).html($("#welcome" ).tmpl({runtimeInfo: window.archivaRuntimeInfo}));
|
$("#main-content" ).html($("#welcome" ).tmpl({runtimeInfo: window.archivaRuntimeInfo}));
|
||||||
drawQuickSearchAutocomplete("#quick-search-autocomplete-welcome");
|
drawQuickSearchAutocomplete("#quick-search-autocomplete-welcome");
|
||||||
|
updateAppearanceToolBar();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue