From 97a5e99de83a0f454e74b78a660b75a1dba75a4d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 4 Apr 2018 04:15:21 +0000 Subject: 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 --- public/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/javascripts') 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) { -- cgit v1.2.3