summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-04-04 04:15:21 +0000
committerGo MAEDA <maeda@farend.jp>2018-04-04 04:15:21 +0000
commit97a5e99de83a0f454e74b78a660b75a1dba75a4d (patch)
treef1bbd05b670484002470dc14738d384cf844893b /public/javascripts
parentaaf0c81719ca18e063b8236c9f25cdf3780896f0 (diff)
downloadredmine-97a5e99de83a0f454e74b78a660b75a1dba75a4d.tar.gz
redmine-97a5e99de83a0f454e74b78a660b75a1dba75a4d.zip
Adds toggle checkboxes feature to trackers permissions (#28242).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17256 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index b6352fd2a..ac5a6ed55 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -10,7 +10,7 @@ function toggleCheckboxesBySelector(selector) {
$(selector).each(function(index) {
if (!$(this).is(':checked')) { all_checked = false; }
});
- $(selector).prop('checked', !all_checked);
+ $(selector).prop('checked', !all_checked).trigger('change');
}
function showAndScrollTo(id, focus) {