Browse Source

Fix mulitple tab navigation highlighting and content hiding (#20906).

Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14728 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.2.0
Jean-Philippe Lang 8 years ago
parent
commit
0b19f6ce51
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      public/javascripts/application.js

+ 2
- 2
public/javascripts/application.js View File

@@ -315,8 +315,8 @@ function toggleMultiSelect(el) {
}

function showTab(name, url) {
$('div#content .tab-content').hide();
$('div.tabs a').removeClass('selected');
$('#tab-content-' + name).parent().find('.tab-content').hide();
$('#tab-content-' + name).parent().find('div.tabs a').removeClass('selected');
$('#tab-content-' + name).show();
$('#tab-' + name).addClass('selected');
//replaces current URL with the "href" attribute of the current link

Loading…
Cancel
Save