]> source.dussan.org Git - archiva.git/commitdiff
remove bootstrap js load as it break add tab activation on pages
authorOlivier Lamy <olamy@apache.org>
Thu, 12 Apr 2012 20:42:06 +0000 (20:42 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 12 Apr 2012 20:42:06 +0000 (20:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325499 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js

index 5de43b3b6c3cd5d36eb5588ae3ef28e78b6cbe2f..2d8b449f6cb700d912136a2873cada696bfccd10 100644 (file)
@@ -12,7 +12,6 @@
   <script type="text/javascript" src="js/jquery-1.7.2.js"></script>
 
   <script type="text/javascript" src="js/require.1.0.7.js"></script>
-  <script type="text/javascript" src="js/bootstrap.2.0.2.js"></script>
 
   <title>Apache Archiva</title>
 
@@ -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;
                               require(['order!domReady','archiva/main'],function (domReady) {
                                   domReady.withResources(function () {
                                       startArchivaApplication();
-                                      window.modalLoading.modal('hide');
                                   })
                               })
 
index e8e05de2b175ba560de47dfc9db8fbdc7d0746b4..5f93d73b2030b80e28ec598d815e565a0ea5057e 100644 (file)
@@ -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