mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Revert id in modal confirm (to be checked)
This commit is contained in:
parent
253c524ec7
commit
3e2e9d301c
1 changed files with 2 additions and 2 deletions
|
|
@ -19,9 +19,9 @@
|
|||
{*dialog.err_msg*}
|
||||
</span>
|
||||
{% if dialog.action ~= nil then %}
|
||||
<a type="submit" class="btn {{dialog.confirm_button or "btn-primary"}}" onclick="{{dialog.action}}">{*dialog.confirm*}</a>
|
||||
<button type="submit" class="btn {{dialog.confirm_button or "btn-primary"}}" onclick="{{dialog.action}}">{*dialog.confirm*}</button>
|
||||
{% else %}
|
||||
<a target="_blank" {% if not dialog.no_confirm_id then %} id="btn-confirm-action_{{dialog.id}}" {% end %} type="submit" class="btn {{dialog.confirm_button or "btn-primary"}}">{*dialog.confirm*}</a>
|
||||
<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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue