From 94089f2c76266f1ce35ba2fa992fd04351720c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 12 Mar 2019 09:46:34 +0100 Subject: [PATCH] don't allow assigning issues to Entr'ouvert group (#31284) --- javascripts/theme.js | 3 +++ 1 file changed, 3 insertions(+) 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;