aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/comment_item.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-04-08 19:44:21 -0400
committerAndrew Manning <tamanning@zoho.com>2018-04-08 19:44:21 -0400
commitf9ec3c66ff1305ca0647454d27793ac5365f7f4a (patch)
tree6978bc6679654a428b6192eeae856c0f9e2d0223 /view/tpl/comment_item.tpl
parent4760dc9bcb7e43be9c27cf83ba5273344384813d (diff)
downloadvolse-hubzilla-f9ec3c66ff1305ca0647454d27793ac5365f7f4a.tar.gz
volse-hubzilla-f9ec3c66ff1305ca0647454d27793ac5365f7f4a.tar.bz2
volse-hubzilla-f9ec3c66ff1305ca0647454d27793ac5365f7f4a.zip
Added feature setting for auto-save, defaulting to enabled.
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}}