aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/comment_item.tpl
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2018-04-09 13:18:09 +0200
committerGitHub <noreply@github.com>2018-04-09 13:18:09 +0200
commit9dc831f1ef5e59a91eeda2756842b7ac262e1ac6 (patch)
tree08faa8318ab53966279b6de5f3fb51dd595f6aac /view/tpl/comment_item.tpl
parent6844d7c752a0d8614aa7490287d72a84a95b3a73 (diff)
parentf9ec3c66ff1305ca0647454d27793ac5365f7f4a (diff)
downloadvolse-hubzilla-9dc831f1ef5e59a91eeda2756842b7ac262e1ac6.tar.gz
volse-hubzilla-9dc831f1ef5e59a91eeda2756842b7ac262e1ac6.tar.bz2
volse-hubzilla-9dc831f1ef5e59a91eeda2756842b7ac262e1ac6.zip
Merge pull request #1051 from anaqreon/auto-save
Auto-save comment and post text
Diffstat (limited to 'view/tpl/comment_item.tpl')
-rwxr-xr-xview/tpl/comment_item.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index 3b51971ec..23594677c 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -1,3 +1,6 @@
+ <script>
+ var auto_save_draft = {{$auto_save_draft}};
+ </script>
{{if $threaded}}
<div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
{{else}}