Skip to content

Commit

Permalink
fix for not working button (#5215)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryon99 committed Apr 23, 2021
1 parent 8271464 commit a6ffbb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpdocs/templates/modal_confirm_dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h5 class="modal-title">{*dialog.title*}</h5>
{% if dialog.action ~= nil then %}
<button type="submit" class="btn {{dialog.confirm_button or "btn-primary"}}" onclick="{{dialog.action}}">{*dialog.confirm*}</button>
{% else %}
<button {% if not dialog.no_confirm_id then %}id="btn-confirm-action" {% end %} type="submit" class="btn {{dialog.confirm_button or "btn-primary"}}">{*dialog.confirm*}</button>
<button {% if not dialog.no_confirm_id then %} id="btn-confirm-action" {% end %} type="submit" class="btn {{dialog.confirm_button or "btn-primary"}}">{*dialog.confirm*}</button>
{% end %}
</div>
{% end %}
Expand Down

0 comments on commit a6ffbb4

Please sign in to comment.