reverted back JS confirm
This commit is contained in:
parent
9606e13aad
commit
d3f7b04446
@ -13,6 +13,13 @@
|
|||||||
|
|
||||||
{html_form}
|
{html_form}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
{literal}
|
||||||
|
|
||||||
|
function admin_entry_comment_delete() { return confirm({/literal}'{$plang.act_del_confirm}'{literal}); }
|
||||||
|
|
||||||
|
{/literal}
|
||||||
|
</script>
|
||||||
<table class="entrylist">
|
<table class="entrylist">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>{$panelstrings.date}</th>
|
<th>{$panelstrings.date}</th>
|
||||||
@ -38,7 +45,7 @@
|
|||||||
href="{"`$panel_url`&entry=`$entryid`"|action_link:commedit|cmd_link:comment:$id}">
|
href="{"`$panel_url`&entry=`$entryid`"|action_link:commedit|cmd_link:comment:$id}">
|
||||||
{$plang.act_edit}
|
{$plang.act_edit}
|
||||||
</a>
|
</a>
|
||||||
<a class="link-delete" href="{"`$panel_url`&entry=`$entryid`"|action_link:commentlist|cmd_link:delete:$id}">
|
<a class="link-delete" onclick="return admin_entry_comment_delete();" href="{"`$panel_url`&entry=`$entryid`"|action_link:commentlist|cmd_link:delete:$id}">
|
||||||
{$plang.act_del}
|
{$plang.act_del}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user