mirror of https://github.com/apache/archiva.git
really correctly go to welcome on logout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e4d09901f
commit
ac6dc59b94
|
@ -99,7 +99,8 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
|
||||||
function(){
|
function(){
|
||||||
// go to welcome on logout
|
// go to welcome on logout
|
||||||
//window.sammyArchivaApplication.setLocation("#welcome");
|
//window.sammyArchivaApplication.setLocation("#welcome");
|
||||||
$.log("displayWelcome");
|
//$.log("displayWelcome");
|
||||||
|
window.sammyArchivaApplication.setLocation("#welcome");
|
||||||
displayWelcome();
|
displayWelcome();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -744,11 +745,10 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
|
||||||
};
|
};
|
||||||
|
|
||||||
displayWelcome=function(){
|
displayWelcome=function(){
|
||||||
$.log("#welcome hash");
|
|
||||||
checkCreateAdminLink(function(){
|
checkCreateAdminLink(function(){
|
||||||
window.sammyArchivaApplication.setLocation("#welcome");
|
//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");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue