}
});
- requirejs(['jquery','jquery.tmpl','jquery.ui','i18n','sammy','startup','utils','domReady!'], function (domReady) {
+ requirejs(['jquery','jquery.tmpl','jquery.ui','i18n','sammy','startup','utils',"archiva.main",'domReady!'], function (domReady) {
loadi18n(function () {
$.ajax({
url: "restServices/archivaUiServices/runtimeInfoService/archivaRuntimeInfo/"+usedLang(),
require(['sammy','jquery','jquery.tmpl','archiva.main','utils','domReady!'],function (domReady) {
startArchivaApplication();
$("#loadingDiv").hide();
+ drawQuickSearchAutocomplete();
})
}
})
"jquery.validate","jquery.json","knockout","redback.templates","archiva.templates",
"redback.roles","redback","archiva.general-admin","archiva.repositories",
"archiva.network-proxies","archiva.proxy-connectors","archiva.repository-groups","archiva.artifacts-management"],
-function($,sammy,tmpl,ui) {
+function(jquery,ui,sammy,tmpl) {
/**
* reccord a cookie for session with the logged user
window.sammyArchivaApplication.run();
+ }
+
+ drawQuickSearchAutocomplete=function(){
+
$( "#quick-search-autocomplete" ).autocomplete({
minLength: 3,
delay: 600,