]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/duepuntozero/theme.php
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
[friendica.git] / view / theme / duepuntozero / theme.php
index 8c7e6c6072b02c568cea12afd63f3bb4c762a2c8..2498852f979966ac454b62d5142ea4afe1fc5bf6 100644 (file)
@@ -12,7 +12,8 @@ function insertFormatting(comment,BBcode,id) {
                        $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
                        $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
                        openMenu("comment-edit-submit-wrapper-" + id);
-                                                               }
+                       $("#comment-edit-text-" + id).val(tmpStr);
+               }
 
        textarea = document.getElementById("comment-edit-text-" +id);
        if (document.selection) {
@@ -36,7 +37,7 @@ function insertFormatting(comment,BBcode,id) {
 function cmtBbOpen(id) {
        $(".comment-edit-bb-" + id).show();
 }
-function cmtBbClose(id) {
+function cmtBbClose(comment, id) {
        $(".comment-edit-bb-" + id).hide();
 }
 $(document).ready(function() {