From aa9a28caf8e276670c93c0745a8cf92a70bada62 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 2 Feb 2012 20:41:24 +0000 Subject: [PATCH] [MRM-1598] use bootstrap css 2.x fix users tabs git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1239820 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/index.html | 4 ++-- .../main/webapp/js/redback/templates/user-grids.html | 10 +++++----- .../src/main/webapp/js/redback/users.js | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html index b59396462..e089140d3 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html @@ -20,10 +20,10 @@
-
+
-
+
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html index e92d9da97..936862057 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html @@ -93,16 +93,16 @@ -
    +
    -
    +
    @@ -111,7 +111,7 @@
    -
    +
    diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js index 75b90146e..bbbdb9212 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/users.js @@ -216,8 +216,8 @@ $(function() { window.redbackModel.usersViewModel = new usersViewModel(); window.redbackModel.usersViewModel.loadUsers(); ko.applyBindings(window.redbackModel.usersViewModel,jQuery("#main-content").get(0)); - $("#main-content #users-view-tabs").tabs(); - $("#main-content #users-view-tabs").bind('change', function (e) { + $("#main-content").tab('show');//#users-view-tabs + $("#main-content a[data-toggle='tab']").on('show', function (e) { //$.log( $(e.target).attr("href") ); // activated tab //e.relatedTarget // previous tab if ($(e.target).attr("href")=="#createUserForm") { -- 2.39.5