aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-25 21:32:34 -0700
committerMario Vavti <mario@mariovavti.com>2018-04-26 09:58:56 +0200
commita5a6488757f5d2534f4ba18e0ce745a45b3d62b5 (patch)
treee37ce3482c37837097b8332338e483ca1cb437ae /view/tpl/jot.tpl
parentb8aabde6c33f763984f3189b79f22cb8d62f2188 (diff)
downloadvolse-hubzilla-a5a6488757f5d2534f4ba18e0ce745a45b3d62b5.tar.gz
volse-hubzilla-a5a6488757f5d2534f4ba18e0ce745a45b3d62b5.tar.bz2
volse-hubzilla-a5a6488757f5d2534f4ba18e0ce745a45b3d62b5.zip
don't load jot autosave content into other document types or edits of other items, but do save these edits in case you need to recover them
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index bc9339d4c..9aa330c40 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -21,8 +21,8 @@
<input type="hidden" name="media_str" id="jot-media" value="" />
<input type="hidden" name="source" id="jot-source" value="{{$source}}" />
<input type="hidden" name="coord" id="jot-coord" value="" />
- <input type="hidden" name="post_id" value="{{$post_id}}" />
- <input type="hidden" name="webpage" value="{{$webpage}}" />
+ <input type="hidden" id="jot-postid" name="post_id" value="{{$post_id}}" />
+ <input type="hidden" id="jot-webpage" name="webpage" value="{{$webpage}}" />
<input type="hidden" name="preview" id="jot-preview" value="0" />
<input type="hidden" id="jot-consensus" name="consensus" value="{{if $consensus}}{{$consensus}}{{else}}0{{/if}}" />
<input type="hidden" id="jot-nocomment" name="nocomment" value="{{if $nocomment}}{{$nocomment}}{{else}}0{{/if}}" />