Fixed issue with bootstrap dropdown closing the calendar

This commit is contained in:
Phil Hughes 2016-04-11 10:08:27 +01:00 committed by Robert Speicher
parent 7617ae2565
commit f56c626315
2 changed files with 9 additions and 0 deletions

View file

@ -53,3 +53,8 @@ class @DueDateSelect
defaultDate: $("input[name='#{fieldName}']").val() defaultDate: $("input[name='#{fieldName}']").val()
altField: "input[name='#{fieldName}']" altField: "input[name='#{fieldName}']"
) )
$(document)
.off 'click', '.ui-datepicker-header a'
.on 'click', '.ui-datepicker-header a', (e) ->
e.stopImmediatePropagation()

View file

@ -404,6 +404,10 @@
} }
.dropdown-menu-due-date { .dropdown-menu-due-date {
.dropdown-content {
max-height: 230px;
}
.ui-widget { .ui-widget {
table { table {
margin: 0; margin: 0;