From 7785487d776cdb5117f9a9206da9557ad2f59d0f Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 8 Dec 2024 22:46:21 +0000 Subject: fix delayed post handling in cron, always set item_delayed if we select a create date --- view/tpl/jot-header.tpl | 1 + view/tpl/jot.tpl | 1 + 2 files changed, 2 insertions(+) (limited to 'view/tpl') 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}} {{/if}} + -- cgit v1.2.3