aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/comment_item.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-09 22:52:14 -0700
committerredmatrix <git@macgirvin.com>2016-08-09 22:52:14 -0700
commitde12503fadbead1722824311d0887ad65b0cb925 (patch)
tree247a02daf134199623a14bdf47cb2208c72e1bc0 /view/tpl/comment_item.tpl
parent5238a27ab309c205bafad83a9ab16d2af7646d32 (diff)
downloadvolse-hubzilla-de12503fadbead1722824311d0887ad65b0cb925.tar.gz
volse-hubzilla-de12503fadbead1722824311d0887ad65b0cb925.tar.bz2
volse-hubzilla-de12503fadbead1722824311d0887ad65b0cb925.zip
allow dropping links on comments as well as posts
Diffstat (limited to 'view/tpl/comment_item.tpl')
-rwxr-xr-xview/tpl/comment_item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index 1d8bd671d..74917d089 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -10,7 +10,7 @@
<input type="hidden" name="return" value="{{$return_path}}" />
<input type="hidden" name="jsreload" value="{{$jsreload}}" />
<input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
- <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpenUI(this,{{$id}});" onBlur="commentCloseUI(this,{{$id}});" >{{$comment}}</textarea>
+ <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpenUI(this,{{$id}});" onBlur="commentCloseUI(this,{{$id}});" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >{{$comment}}</textarea>
{{if $qcomment}}
<select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
<option value=""></option>