aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-25 16:54:18 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-25 16:54:18 -0700
commit917d0ced4a1f0890172b90a9551131fa43bea78b (patch)
tree7a8dc4572eb51d8ae3c49328117702e043b58e42 /view/tpl/jot-header.tpl
parent7f3df847a2ba1e836c930f89a681e1589131f557 (diff)
downloadvolse-hubzilla-917d0ced4a1f0890172b90a9551131fa43bea78b.tar.gz
volse-hubzilla-917d0ced4a1f0890172b90a9551131fa43bea78b.tar.bz2
volse-hubzilla-917d0ced4a1f0890172b90a9551131fa43bea78b.zip
new feature: delayed posting
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 7e12c6bb3..b405e4ac8 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -234,6 +234,19 @@ function enableOnUser(){
})
}
+ function jotGetPubDate() {
+ //reply = prompt("{{$expirewhen}}", $('#jot-expire').val());
+ $('#createdModal').modal();
+ $('#created-modal-OKButton').on('click', function() {
+ reply=$('#created-date').val();
+ if(reply && reply.length) {
+ $('#jot-created').val(reply);
+ $('#createdModal').modal('hide');
+ }
+ })
+ }
+
+
function jotShare(id) {
if ($('#jot-popup').length != 0) $('#jot-popup').show();