From b57506f4e40cca76612ef31ec6ff60b299c0c5af Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 2 Feb 2012 22:56:18 +0000 Subject: [PATCH] [MRM-1598] use bootstrap css 2.x fix network proxies screen git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1239906 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/webapp/js/archiva/network-proxies.js | 4 +- .../js/archiva/templates/network-proxies.html | 50 +++++++++---------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js index 9d74740f5..bb9d5b4b2 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js @@ -184,11 +184,11 @@ $(function() { clearUserMessages(); $("#main-content").html(mediumSpinnerImg()); $("#main-content").html($("#networkProxiesMain").tmpl()); - $("#main-content #network-proxies-view-tabs").tabs(); + $("#main-content #network-proxies-view-tabs a:first").tab('show'); var networkProxiesViewModel = new NetworkProxiesViewModel(); - $("#main-content #network-proxies-view-tabs").bind('change', function (e) { + $("#main-content #network-proxies-view-tabs").on('show', function (e) { if ($(e.target).attr("href")=="#network-proxies-edit") { var viewModel = new NetworkProxyViewModel(new NetworkProxy(),false,networkProxiesViewModel); ko.applyBindings(viewModel,$("#main-content #network-proxies-edit").get(0)); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html index b0ceb2f8a..1d2b1c375 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/network-proxies.html @@ -21,23 +21,23 @@

${$.i18n.prop('network-proxies.list')}

-