From: Olivier Lamy Date: Sun, 26 Feb 2012 23:52:50 +0000 (+0000) Subject: use collapse/accordion to prevent too long screen X-Git-Tag: archiva-1.4-M3~1211 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5dd0f106686404f5c749237a20aaee547c998942;p=archiva.git use collapse/accordion to prevent too long screen git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293970 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js index 8f227103e..bdf6d28b1 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js @@ -145,6 +145,7 @@ $(function() { activateRoleEditTab(); mainContent.find("#role-view-users").tabs("show"); mainContent.find("#role-edit-users-tabs-content #role-view-users").addClass("active"); + mainContent.find("#role-edit").collapse("show"); } } ); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html index ca3ba4737..1312ec842 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html @@ -46,141 +46,153 @@