mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 23:35:00 +08:00
Fix deleting draft for the first time [SCI-8022] (#5048)
This commit is contained in:
parent
e16a8f033b
commit
e317ca0134
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
|
||||
<%= button_to '', class: "btn btn-danger" do %>
|
||||
<%= button_to '', class: "btn btn-danger", remote: true do %>
|
||||
<%= t('protocols.delete_draft_modal.confirm') %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue