diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-30 16:33:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-30 16:33:46 +0000 |
commit | f7a8a475700b05c72c9acc02c7b1e1a9b358c9ca (patch) | |
tree | 1d63093ac6aa1786bb92e5a027b2cf4f38ebe670 | |
parent | 3f8ee753df555b47d9e433250d212673dbdbf09e (diff) | |
download | redmine-f7a8a475700b05c72c9acc02c7b1e1a9b358c9ca.tar.gz redmine-f7a8a475700b05c72c9acc02c7b1e1a9b358c9ca.zip |
Fixed that changing tabs in project settings unselect "Write" tab of project description textarea (#27758).
git-svn-id: http://svn.redmine.org/redmine/trunk@17548 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | public/javascripts/application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index dbe4a32b9..5221152fb 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -342,8 +342,8 @@ function toggleMultiSelect(el) { function showTab(name, url) { $('#tab-content-' + name).parent().find('.tab-content').hide(); - $('#tab-content-' + name).parent().find('div.tabs a').removeClass('selected'); $('#tab-content-' + name).show(); + $('#tab-' + name).closest('.tabs').find('a').removeClass('selected'); $('#tab-' + name).addClass('selected'); //replaces current URL with the "href" attribute of the current link //(only triggered if supported by browser) |