diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-22 00:20:48 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-22 00:20:48 +0000 |
commit | 0c547ffd8af8964f2f61937d0d2c8aa68aae4f6f (patch) | |
tree | 2392dd3258f9e8ac9c2c51389336529034e24dd0 /public/javascripts/application.js | |
parent | af987c9ed48da60139ff168db1bb6bfc43c0ff5f (diff) | |
download | redmine-0c547ffd8af8964f2f61937d0d2c8aa68aae4f6f.tar.gz redmine-0c547ffd8af8964f2f61937d0d2c8aa68aae4f6f.zip |
"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
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r-- | public/javascripts/application.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 42da02765..7a2805d97 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -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); |