diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-20 08:29:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-20 08:29:55 +0000 |
commit | 13e381d31de0055905bd95813fc8034582b2dedc (patch) | |
tree | 1354c6ec8032935df3bc21c92a7821a7fbef03df /public/javascripts | |
parent | 4eea64d38fd813d8f0edf87efe59ed7d3826d29c (diff) | |
download | redmine-13e381d31de0055905bd95813fc8034582b2dedc.tar.gz redmine-13e381d31de0055905bd95813fc8034582b2dedc.zip |
Projects selection on custom field form (#15136).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12225 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/application.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index e102af275..8ffef5bf0 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -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) { |