Fix due date moda

This commit is contained in:
aignatov-bio 2019-11-21 13:05:36 +01:00
parent 0b04ca4012
commit c712e4e48c
2 changed files with 16 additions and 3 deletions

View file

@ -258,6 +258,4 @@ function initTagsSelector() {
applyTaskCompletedCallBack();
initTagsSelector();
bindEditTagsAjax();
$(document).on('turbolinks:load', function() {
initDueDatePicker();
});
initDueDatePicker();

View file

@ -0,0 +1,15 @@
<div class="modal" id="manage-module-due-date-modal" tabindex="-1" role="dialog" aria-labelledby="manage-module-due-date-modal-label">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="manage-module-due-date-modal-label"></h4>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
<button type="button" class="btn btn-success" data-action="submit"><%=t "general.save" %></button>
</div>
</div>
</div>
</div>