diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-01-01 16:18:39 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-01-01 16:18:39 +0100 |
commit | aafc40069bf0955d935adb4632650c7c990063a7 (patch) | |
tree | b673eff5aa0f9c63ce26c873bafcce6ffef3409b /view/tpl/jot-header.tpl | |
parent | 575f2b3280049eba2bbead023d8fe7fc345af0b1 (diff) | |
download | volse-hubzilla-aafc40069bf0955d935adb4632650c7c990063a7.tar.gz volse-hubzilla-aafc40069bf0955d935adb4632650c7c990063a7.tar.bz2 volse-hubzilla-aafc40069bf0955d935adb4632650c7c990063a7.zip |
Confirm webpage deletion prompt
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> - --> + |