mirror of
https://github.com/friendica/friendica
synced 2025-01-31 20:19:47 +00:00
enable dropzone on jot for mentions
This commit is contained in:
parent
29cb0211db
commit
f55ed01fb5
1 changed files with 3 additions and 2 deletions
|
@ -92,6 +92,9 @@
|
||||||
<div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
|
<div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
|
||||||
|
|
||||||
<div id="permissions-section" style="display: none;">
|
<div id="permissions-section" style="display: none;">
|
||||||
|
<script>
|
||||||
|
dzFactory.setupDropzone('#dropzone-{{$id}}', 'comment-edit-text-{{$id}}');
|
||||||
|
</script>
|
||||||
{{if $type == 'post'}}
|
{{if $type == 'post'}}
|
||||||
<h3>{{$l10n.visibility_title}}</h3>
|
<h3>{{$l10n.visibility_title}}</h3>
|
||||||
{{$acl_selector nofilter}}
|
{{$acl_selector nofilter}}
|
||||||
|
@ -113,8 +116,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
dzFactory.setupDropzone('#dropzone-{{$id}}', 'comment-edit-text-{{$id}}');
|
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
var textareas = document.querySelectorAll(".expandable-textarea");
|
var textareas = document.querySelectorAll(".expandable-textarea");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue