summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-27 21:24:24 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-27 21:24:24 +0000
commit580e2f669a5d71435daf8e3a1060fbd69758289b (patch)
treea4d96102cbbd8aefdb02fd7419c7e652d9cfc5b1 /public/javascripts/application.js
parent5b29b2b5d1c19181c9887beba4dee600f4a3aadf (diff)
downloadredmine-580e2f669a5d71435daf8e3a1060fbd69758289b.tar.gz
redmine-580e2f669a5d71435daf8e3a1060fbd69758289b.zip
Use the regular "icon icon-*" classes for collapsible fields (#31433).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18204 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index def33c2d8..7829964f5 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -72,6 +72,7 @@ function toggleAllRowGroups(el) {
function toggleFieldset(el) {
var fieldset = $(el).parents('fieldset').first();
fieldset.toggleClass('collapsed');
+ fieldset.children('legend').toggleClass('icon-expended icon-collapsed');
fieldset.children('div').toggle();
}