Projects selection on custom field form (#15136).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12225 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-10-20 08:29:55 +00:00
parent 4eea64d38f
commit 13e381d31d
6 changed files with 61 additions and 23 deletions

View File

@@ -2,11 +2,7 @@
Copyright (C) 2006-2013 Jean-Philippe Lang */
function checkAll(id, checked) {
if (checked) {
$('#'+id).find('input[type=checkbox]').attr('checked', true);
} else {
$('#'+id).find('input[type=checkbox]').removeAttr('checked');
}
$('#'+id).find('input[type=checkbox]:enabled').attr('checked', checked);
}
function toggleCheckboxesBySelector(selector) {