aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-12-08 22:46:21 +0000
committerMario <mario@mariovavti.com>2024-12-08 22:46:21 +0000
commit7785487d776cdb5117f9a9206da9557ad2f59d0f (patch)
tree9f0da496b1d321d925cf0cc50af5e5efccbe711a /view
parent9756023e39cb58081b68644e23322cb69c8f0833 (diff)
downloadvolse-hubzilla-7785487d776cdb5117f9a9206da9557ad2f59d0f.tar.gz
volse-hubzilla-7785487d776cdb5117f9a9206da9557ad2f59d0f.tar.bz2
volse-hubzilla-7785487d776cdb5117f9a9206da9557ad2f59d0f.zip
fix delayed post handling in cron, always set item_delayed if we select a create date
Diffstat (limited to 'view')
-rw-r--r--view/tpl/jot-header.tpl1
-rw-r--r--view/tpl/jot.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 2c60b7c22..3d93fcde9 100644
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -199,6 +199,7 @@ var activeCommentText = '';
$('#created-modal-OKButton').on('click', function() {
reply=$('#created-date').val();
if(reply && reply.length) {
+ $('#jot-delayed').val(1);
$('#jot-created').val(reply);
$('#createdModal').modal('hide');
}
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 53315876b..1cecee906 100644
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -13,6 +13,7 @@
{{if $parent}}
<input type="hidden" name="parent" value="{{$parent}}" />
{{/if}}
+ <input type="hidden" id="jot-delayed" name="delayed" value="0" />
<input type="hidden" name="obj_type" value="{{$ptyp}}" />
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
<input type="hidden" name="return" value="{{$return_path}}" />