Commit ff702bd6 authored by Phil Hughes's avatar Phil Hughes

Changed how date gets cleared

parent ab722343
...@@ -13,8 +13,7 @@ class @DueDateSelect ...@@ -13,8 +13,7 @@ class @DueDateSelect
$('.js-clear-due-date').on 'click', (e) -> $('.js-clear-due-date').on 'click', (e) ->
e.preventDefault() e.preventDefault()
$dueDate.val('') $.datepicker._clearDate($datePicker)
$datePicker.datepicker('setDate', '')
# Issuable sidebar # Issuable sidebar
$loading = $('.js-issuable-update .due_date') $loading = $('.js-issuable-update .due_date')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment