]> git.mxchange.org Git - friendica.git/commitdiff
ensure comment counts update after refactor of collapsed comments
authorfriendica <info@friendica.com>
Wed, 23 Nov 2011 22:03:53 +0000 (14:03 -0800)
committerfriendica <info@friendica.com>
Wed, 23 Nov 2011 22:03:53 +0000 (14:03 -0800)
boot.php
js/main.js
view/hide_comments.tpl

index 4ccdff7acd0a4c6e8e2cd68af26a5b124e843535..e2e8f9448545649db9dea03ac4ded4a98271e521 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
 require_once('include/cache.php');
 
 define ( 'FRIENDIKA_PLATFORM',     'Friendica');
-define ( 'FRIENDIKA_VERSION',      '2.3.1173' );
+define ( 'FRIENDIKA_VERSION',      '2.3.1174' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    );
 define ( 'DB_UPDATE_VERSION',      1105      );
 
index 9741bfaec1066dc0b1a22c68aef4129e11899103..35cb75c054afa680ad0cdfd08fd9d0c53b53c036 100644 (file)
                                        $('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago')); 
                                        if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
                                                $('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
+                                       $('#' + ident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
                                        $('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
                                        $('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
                                        $('#' + ident + ' ' + '.my-comment-photo').each(function() {
index 123546bcc210c6b6043686edcc1119585841f95c..55ee9dd7b1d979542fa2d93ce2cca886c6b846ca 100644 (file)
@@ -1,4 +1,4 @@
 <div class="hide-comments-outer">
-$num_comments <span id="hide-comments-$id" class="hide-comments fakelink" onclick="showHideComments($id);">$hide_text</span>
+<span id="hide-comments-total-$id" class="hide-comments-total">$num_comments</span> <span id="hide-comments-$id" class="hide-comments fakelink" onclick="showHideComments($id);">$hide_text</span>
 </div>
 <div id="collapsed-comments-$id" class="collapsed-comments" style="display: $display;">