aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/main.js10
1 files changed, 5 insertions, 5 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 2b0e4489a..6b124d6a4 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
@@ -99,7 +99,8 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
function(){
// go to welcome on logout
//window.sammyArchivaApplication.setLocation("#welcome");
- $.log("displayWelcome");
+ //$.log("displayWelcome");
+ window.sammyArchivaApplication.setLocation("#welcome");
displayWelcome();
}
);
@@ -744,11 +745,10 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
};
displayWelcome=function(){
- $.log("#welcome hash");
checkCreateAdminLink(function(){
- window.sammyArchivaApplication.setLocation("#welcome");
- //$("#main-content" ).html($("#welcome" ).tmpl({runtimeInfo: window.archivaRuntimeInfo}));
- //drawQuickSearchAutocomplete("#quick-search-autocomplete-welcome");
+ //window.sammyArchivaApplication.setLocation("#search")
+ $("#main-content" ).html($("#welcome" ).tmpl({runtimeInfo: window.archivaRuntimeInfo}));
+ drawQuickSearchAutocomplete("#quick-search-autocomplete-welcome");
});
}