mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
"selected" class is wrongly removed from journal edit tabs when switching the issue history tabs (#3058, #31599).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18311 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -363,7 +363,7 @@ function showIssueHistory(journal, url) {
|
||||
tab_content = $('#tab-content-history');
|
||||
tab_content.parent().find('.tab-content').hide();
|
||||
tab_content.show();
|
||||
tab_content.parent().find('div.tabs a').removeClass('selected');
|
||||
tab_content.parent().children('div.tabs').find('a').removeClass('selected');
|
||||
|
||||
$('#tab-' + journal).addClass('selected');
|
||||
|
||||
@@ -389,7 +389,7 @@ function getRemoteTab(name, remote_url, url, load_always = false) {
|
||||
var tab_content = $('#tab-content-' + name);
|
||||
|
||||
tab_content.parent().find('.tab-content').hide();
|
||||
tab_content.parent().find('div.tabs a').removeClass('selected');
|
||||
tab_content.parent().children('div.tabs').find('a').removeClass('selected');
|
||||
$('#tab-' + name).addClass('selected');
|
||||
|
||||
replaceInHistory(url);
|
||||
|
||||
Reference in New Issue
Block a user