Redmine 3.4.4

This commit is contained in:
Manuel Cillero 2018-02-02 22:19:29 +01:00
commit 64924a6376
2112 changed files with 259028 additions and 0 deletions

View file

@ -0,0 +1,13 @@
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'principal_memberships/new_modal') %>');
showModal('ajax-modal', '700px');
$('.projects-selection').on('click', 'input[type=checkbox]', function(e){
if (!$(this).is(':checked')) {
if ($(this).closest('li').find('ul input[type=checkbox]:not(:checked)').length > 0) {
$(this).closest('li').find('ul input[type=checkbox]:not(:checked)').attr('checked', 'checked');
e.preventDefault();
} else {
$(this).closest('li').find('ul input[type=checkbox]:checked').removeAttr('checked');
}
}
});