X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fduepuntozero%2Ftheme.php;h=2498852f979966ac454b62d5142ea4afe1fc5bf6;hb=6b830bfa97121ea6388722ef483440360ff4d4dd;hp=8c7e6c6072b02c568cea12afd63f3bb4c762a2c8;hpb=e72eaf24086a6f8c8b6f315ca8f404444b02d210;p=friendica.git diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php index 8c7e6c6072..2498852f97 100644 --- a/view/theme/duepuntozero/theme.php +++ b/view/theme/duepuntozero/theme.php @@ -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() {