From: Olivier Lamy Date: Thu, 2 Feb 2012 21:29:06 +0000 (+0000) Subject: MRM-1598] use bootstrap css 2.x %s/twipsy/tooltip X-Git-Tag: archiva-1.4-M3~1385 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fcf47b4fa3469ca72bb27b3f3392742bf1949e97;p=archiva.git MRM-1598] use bootstrap css 2.x %s/twipsy/tooltip git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1239862 13f79535-47bb-0310-9956-ffa450edef68 --- 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 527823e8b..9d74740f5 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 @@ -236,7 +236,7 @@ $(function() { ], pageSize: 5, gridUpdateCallBack: function(networkProxy){ - $("#main-content #networkProxiesTable [title]").twipsy(); + $("#main-content #networkProxiesTable [title]").tooltip(); } }); ko.applyBindings(networkProxiesViewModel,$("#main-content #networkProxiesTable").get(0)); 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 c1ca22454..149f1f7de 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 @@ -147,7 +147,7 @@ $(function() { data: self.managedRepositoryConnectorViews, pageSize: 5, gridUpdateCallBack: function(){ - $("#main-content #proxyConnectorsTable [title]").twipsy(); + $("#main-content #proxyConnectorsTable [title]").tooltip(); } }); this.gridViewModel.getManagedRepository=getManagedRepository; diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index 1c3df7f2a..0ca226fd1 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -757,7 +757,7 @@ $(function() { ], pageSize: 5, gridUpdateCallBack: function(){ - $("#main-content #managed-repositories-table [title]").twipsy(); + $("#main-content #managed-repositories-table [title]").tooltip(); } }); ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-table").get(0)); @@ -798,7 +798,7 @@ $(function() { ], pageSize: 5, gridUpdateCallBack: function(){ - $("#main-content #remote-repositories-table [title]").twipsy(); + $("#main-content #remote-repositories-table [title]").tooltip(); } }); ko.applyBindings(remoteRepositoriesViewModel,$("#main-content #remote-repositories-table").get(0)); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/knockout-binding.apt b/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/knockout-binding.apt index 54cab62cc..f5dfa9680 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/knockout-binding.apt +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/knockout-binding.apt @@ -141,7 +141,7 @@ ManagedRepositoriesViewModel=function(){ pageSize: 5, // we can define here a callback function which be called on all grid change (adding/updating/removing values from the array) gridUpdateCallBack: function(){ - $("#main-content #managed-repositories-table [title]").twipsy(); + $("#main-content #managed-repositories-table [title]").tooltip(); } }); // apply the binding on the specified node