mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Fix due date moda
This commit is contained in:
parent
0b04ca4012
commit
c712e4e48c
2 changed files with 16 additions and 3 deletions
|
@ -258,6 +258,4 @@ function initTagsSelector() {
|
|||
applyTaskCompletedCallBack();
|
||||
initTagsSelector();
|
||||
bindEditTagsAjax();
|
||||
$(document).on('turbolinks:load', function() {
|
||||
initDueDatePicker();
|
||||
});
|
||||
initDueDatePicker();
|
||||
|
|
15
app/views/my_modules/modals/_manage_due_date_modal.html.erb
Normal file
15
app/views/my_modules/modals/_manage_due_date_modal.html.erb
Normal 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">×</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>
|
Loading…
Reference in a new issue