]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/duepuntozero/comment_item.tpl
cleanup - make bb-buttons vanish when comment closed
[friendica.git] / view / theme / duepuntozero / comment_item.tpl
index 375aff8fa48b766495e3af098533554b5b5045d4..79d5f6ab9b9a9de48b41f3e5a77ec892d0090ad7 100755 (executable)
                                                onclick="insertFormatting('$comment','video', $id);"></a></li>
                                </ul>   
                                <div class="comment-edit-bb-end"></div>
-                               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>                  
+                               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>                  
                                {{ if $qcomment }}
-                               {{ for $qcomment as $qc }}                              
-                                       <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
-                                       &nbsp;
+                                       <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+                                       <option value=""></option>
+                               {{ for $qcomment as $qc }}
+                                       <option value="$qc">$qc</option>                                
                                {{ endfor }}
+                                       </select>
                                {{ endif }}
 
                                <div class="comment-edit-text-end"></div>