Move auto_save_draft to header from thread comment
(cherry picked from commit c86b35da701674510a97ccc21e46581bd864cc31)
This commit is contained in:
committed by
Mario
parent
6c8d1bdffe
commit
3e133bbfa3
@@ -1,6 +1,3 @@
|
||||
<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}}
|
||||
|
@@ -15,6 +15,7 @@
|
||||
{{if $channel_hash}}var channelHash = '{{$channel_hash}}';{{/if}}
|
||||
{{if $channel_id}}var channelId = '{{$channel_id}}';{{/if}}{{* Used in e.g. autocomplete *}}
|
||||
var preloadImages = {{$preload_images}};
|
||||
var auto_save_draft = {{$auto_save_draft}};
|
||||
</script>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user