From 30640f883261e0567234ea2d0cb7b04dcfa07ce6 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 12 Apr 2012 20:42:06 +0000 Subject: [PATCH] remove bootstrap js load as it break add tab activation on pages git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325499 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp-js/src/main/webapp/index.html | 5 ----- .../src/main/webapp/js/archiva/proxy-connectors.js | 3 ++- 2 files changed, 2 insertions(+), 6 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 5de43b3b6..2d8b449f6 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 @@ -12,7 +12,6 @@ - Apache Archiva @@ -74,9 +73,6 @@ cache: false, success:function(data){ - window.modalLoading=$("#dialog-spinner-modal").modal(); - window.modalLoading.modal('show'); - window.archivaDevMode=data.devMode; window.archivaJavascriptLog=data.javascriptLog; window.archivaRuntimeInfo=data; @@ -139,7 +135,6 @@ require(['order!domReady','archiva/main'],function (domReady) { domReady.withResources(function () { startArchivaApplication(); - window.modalLoading.modal('hide'); }) }) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js index e8e05de2b..5f93d73b2 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js @@ -449,8 +449,9 @@ define("archiva.proxy-connectors",["jquery","i18n","jquery.tmpl","bootstrap","jq mainContent.find("#proxy-connectors-view-tabs #proxy-connectors-view-tabs-a-network-proxies-grid").tab('show'); mainContent.find("#proxy-connectors-view-tabs").on('show', function (e) { - + $.log("on show:"+$(e.target).attr("href")); if ($(e.target).attr("href")=="#proxy-connectors-edit") { + $.log("#proxy-connectors-edit"); var proxyConnector=new ProxyConnector(); var defaultPolicies=new Array(); // populate with defaut policies options