From 6506537883c3dac18d0fd93b9ffc94072ee657b0 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 23 Aug 2012 16:19:47 +0000 Subject: [PATCH] load jquery ui on start git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376575 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/index.html | 1 + .../archiva-webapp-js/src/main/webapp/js/archiva/main.js | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html index e1c4efb0a..1e31f8a7a 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html @@ -32,6 +32,7 @@ + diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index 3baa67acf..6127c28b8 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -define("archiva.main",["jquery","sammy","jquery.tmpl","jquery.ui","jquery.cookie","bootstrap","archiva.search", +define("archiva.main",["jquery","jquery.ui","sammy","jquery.tmpl","jquery.cookie","bootstrap","archiva.search", "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"], @@ -597,6 +597,10 @@ function($,sammy,tmpl,ui) { checkCreateAdminLink(); $('#footer-content').html($('#footer-tmpl').tmpl(window.archivaRuntimeInfo)); + updateAppearanceToolBar(); + + window.sammyArchivaApplication.run(); + $( "#quick-search-autocomplete" ).autocomplete({ minLength: 3, delay: 600, @@ -626,9 +630,6 @@ function($,sammy,tmpl,ui) { .append( "" + item.artifactId + "" ) .appendTo( ul ); }; - updateAppearanceToolBar(); - - window.sammyArchivaApplication.run(); } -- 2.39.5