aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-01-01 16:18:39 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-01-01 16:18:39 +0100
commitaafc40069bf0955d935adb4632650c7c990063a7 (patch)
treeb673eff5aa0f9c63ce26c873bafcce6ffef3409b /view/tpl/jot-header.tpl
parent575f2b3280049eba2bbead023d8fe7fc345af0b1 (diff)
downloadvolse-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-xview/tpl/jot-header.tpl7
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>
- -->
+