From: Olivier Lamy Date: Mon, 6 Feb 2012 09:13:35 +0000 (+0000) Subject: no need to apply binding twice X-Git-Tag: archiva-1.4-M3~1356 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d6c716eba51161506ec4d72a1d6e9f86efb383b;p=archiva.git no need to apply binding twice git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240938 13f79535-47bb-0310-9956-ffa450edef68 --- 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 de0467f2f..19d30d19e 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 @@ -815,8 +815,8 @@ $(function() { $("#main-content #managed-repositories-table [title]").tooltip(); } }); - ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-table").get(0)); - ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-bulk-save-btn").get(0)); + ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-view").get(0)); + $("#main-content #managed-repositories-pills a:first").tab('show'); removeMediumSpinnerImg("#main-content #managed-repositories-content"); activateManagedRepositoriesGridTab(); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html index 38a2fce9b..f9cc304d5 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html @@ -40,13 +40,13 @@
-
- -
-
-
+
+ +
+
+