aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-07 00:47:50 -0800
committerfriendica <info@friendica.com>2013-11-07 00:47:50 -0800
commit7381326b7a7a271da52464d15774a1309adb2bd5 (patch)
tree3427097b3dc93977f37c8f0b1b49eabc37160611 /view/tpl/jot-header.tpl
parentdf4c9171207065f32db52c910f86e5ef277eaa1f (diff)
downloadvolse-hubzilla-7381326b7a7a271da52464d15774a1309adb2bd5.tar.gz
volse-hubzilla-7381326b7a7a271da52464d15774a1309adb2bd5.tar.bz2
volse-hubzilla-7381326b7a7a271da52464d15774a1309adb2bd5.zip
provide expire feature on post and comments as well as private messages. This requires a feature setting and is currently unmaskable - if the author says it's gone, there's not a lot you can do to stop it or try and save it. It's gone.
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 527db4e4f..05928bc32 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -191,6 +191,13 @@ function enableOnUser(){
}
}
+ function jotGetExpiry() {
+ reply = prompt("{{$expirewhen}}", $('#jot-expire').val());
+ if(reply && reply.length) {
+ $('#jot-expire').val(reply);
+ }
+ }
+
function jotShare(id) {
if ($('#jot-popup').length != 0) $('#jot-popup').show();