aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/comment_item.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-04 20:00:54 -0800
committerfriendica <info@friendica.com>2015-03-04 20:00:54 -0800
commit2ea162136e8ab68ca0ad854a4225471ffd35a5a8 (patch)
tree56627ba6eecd9ebaccb91907083d2e099e17eb32 /view/tpl/comment_item.tpl
parent76eb0a7e5606d61153b199094482c4c55685a035 (diff)
downloadvolse-hubzilla-2ea162136e8ab68ca0ad854a4225471ffd35a5a8.tar.gz
volse-hubzilla-2ea162136e8ab68ca0ad854a4225471ffd35a5a8.tar.bz2
volse-hubzilla-2ea162136e8ab68ca0ad854a4225471ffd35a5a8.zip
the link icon on comments now calls the link parsing tool (just like the main editor window). Eventually the link specific icons (image, link, audio, video) will all be handled by inserting a link using the link icon (here and in the main editor window) and the separate buttons will go away. We also need to tie this to oembed so that there's one place to insert a link - no matter what kind of link it is, and we'll try to find the best way to render that as content. Similarly upload will upload content, no matter what kind of content; and we'll likewise try and figure out the best way to present whatever content was uploaded (img, file, audio, video, whatever).
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 cdcf35131..c9a3c451c 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -43,7 +43,7 @@
<button class="btn btn-default btn-xs" title="{{$edimg}}" onclick="insertbbcomment('{{$comment}}','img', {{$id}}); return false;">
<i class="icon-camera comment-icon"></i>
</button>
- <button class="btn btn-default btn-xs" title="{{$edurl}}" onclick="insertbbcomment('{{$comment}}','url', {{$id}}); return false;">
+ <button class="btn btn-default btn-xs" title="{{$edurl}}" onclick="insertCommentURL('{{$comment}}',{{$id}}); return false;">
<i class="icon-link comment-icon"></i>
</button>
<button class="btn btn-default btn-xs" title="{{$edvideo}}" onclick="insertbbcomment('{{$comment}}','video', {{$id}}); return false;">