aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-12-22 14:47:37 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-12-22 14:47:37 +0100
commit031b9b7d775bbc2f88e8f2e6057b67286297042c (patch)
treea8c7391bfe799703aa0a8f26b9ee788f1204e8be /view/tpl/jot-header.tpl
parent7e7b5bfa4930493a8feae10b0550e29797956c70 (diff)
parent870df76463a1cc9823b364db0bfb387f3f46664f (diff)
downloadvolse-hubzilla-031b9b7d775bbc2f88e8f2e6057b67286297042c.tar.gz
volse-hubzilla-031b9b7d775bbc2f88e8f2e6057b67286297042c.tar.bz2
volse-hubzilla-031b9b7d775bbc2f88e8f2e6057b67286297042c.zip
Merge branch 'bootstrap'
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl24
1 files changed, 22 insertions, 2 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 1ceca04c6..09d035979 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -194,10 +194,17 @@ function enableOnUser(){
}
function jotGetExpiry() {
- reply = prompt("{{$expirewhen}}", $('#jot-expire').val());
- if(reply && reply.length) {
+ //reply = prompt("{{$expirewhen}}", $('#jot-expire').val());
+ $('#expiryModal').modal();
+ $('#expiry-modal-OKButton').on('click', function() {
+ reply=$('#expiration-date').val();
+ if(reply && reply.length) {
$('#jot-expire').val(reply);
+ $('#expiryModal').modal('hide');
}
+})
+
+
}
function jotShare(id) {
@@ -299,3 +306,16 @@ function enableOnUser(){
</script>
+<!--
+<script>
+$( document ).on( "click", ".wall-item-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) {
+ if (result) {
+ document.location.href = link;}
+ });
+ });
+</script>
+ -->
+