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
This commit is contained in:
Olivier Lamy 2012-04-12 20:42:06 +00:00
parent c0ec48e2a8
commit 30640f8832
2 changed files with 2 additions and 6 deletions

View 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;
@ -139,7 +135,6 @@
require(['order!domReady','archiva/main'],function (domReady) {
domReady.withResources(function () {
startArchivaApplication();
window.modalLoading.modal('hide');
})
})

View 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