diff --git a/app/assets/javascripts/due_date_select.js.coffee b/app/assets/javascripts/due_date_select.js.coffee index edc28954aaf..b6e96002dfd 100644 --- a/app/assets/javascripts/due_date_select.js.coffee +++ b/app/assets/javascripts/due_date_select.js.coffee @@ -53,3 +53,8 @@ class @DueDateSelect defaultDate: $("input[name='#{fieldName}']").val() altField: "input[name='#{fieldName}']" ) + + $(document) + .off 'click', '.ui-datepicker-header a' + .on 'click', '.ui-datepicker-header a', (e) -> + e.stopImmediatePropagation() diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index b57ecd1b37a..55c90b09e97 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -404,6 +404,10 @@ } .dropdown-menu-due-date { + .dropdown-content { + max-height: 230px; + } + .ui-widget { table { margin: 0;