diff options
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-x | view/tpl/jot-header.tpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 09d035979..75239c179 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -306,16 +306,15 @@ function enableOnUser(){ </script> -<!-- <script> -$( document ).on( "click", ".wall-item-delete-link", function(e) { +$( document ).on( "click", ".wall-item-delete-link,.page-delete-link", function(e) { var link = $(this).attr("href"); // "get" the intended link in a var e.preventDefault(); - bootbox.confirm("<h4>Delete item?</h4>", function(result) { + bootbox.confirm("<h4>{{$confirmdelete}}</h4>", function(result) { if (result) { document.location.href = link;} }); }); </script> - --> + |