]> git.mxchange.org Git - friendica.git/blobdiff - view/head.tpl
update all languages strings.php
[friendica.git] / view / head.tpl
index e5495b329f159d24d1c60692844208651488a843..f861060c77250eba5aaed7345cceccd712ea9184 100644 (file)
@@ -39,7 +39,9 @@
                        $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
                        $("#mod-cmnt-wrap-" + id).show();
                        openMenu("comment-edit-submit-wrapper-" + id);
+                       return true;
                }
+               return false;
        }
        function commentClose(obj,id) {
                if(obj.value == '') {
@@ -48,7 +50,9 @@
                        $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
                        $("#mod-cmnt-wrap-" + id).hide();
                        closeMenu("comment-edit-submit-wrapper-" + id);
+                       return true;
                }
+               return false;
        }
 
 
                $(obj).val('');
        }
 
-       function showHideComments(id) {
-               if( $('#collapsed-comments-' + id).is(':visible')) {
-                       $('#collapsed-comments-' + id).hide();
-                       $('#hide-comments-' + id).html('$showmore');
-               }
-               else {
-                       $('#collapsed-comments-' + id).show();
-                       $('#hide-comments-' + id).html('$showfewer');
-               }
-       }
+       window.showMore = "$showmore";
+       window.showFewer = "$showfewer";
 
        function showHideCommentBox(id) {
                if( $('#comment-edit-form-' + id).is(':visible')) {