diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-10-25 16:54:18 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-10-25 16:54:18 -0700 |
commit | 917d0ced4a1f0890172b90a9551131fa43bea78b (patch) | |
tree | 7a8dc4572eb51d8ae3c49328117702e043b58e42 /view/tpl/jot-header.tpl | |
parent | 7f3df847a2ba1e836c930f89a681e1589131f557 (diff) | |
download | volse-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-x | view/tpl/jot-header.tpl | 13 |
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(); |