diff --git a/javascripts/theme.js b/javascripts/theme.js index 892ced7..38b72a7 100644 --- a/javascripts/theme.js +++ b/javascripts/theme.js @@ -129,6 +129,9 @@ $(function() { var timestamp = ((new Date().getTime() / 1000) % 86400 ) / (86400 / 440); $('#top-menu').css('background-position', '0 -' + timestamp + 'px'); + // don't allow assigning issues to Entr'ouvert group + $('body.controller-issues #issue_assigned_to_id [value=21]').hide(); + if ($('body.controller-issues.action-new').length == 1) { alter_new_issue_page(); return;