"show all n comments" comes back after toggled and ajax updated, plus connector doc improvements

This commit is contained in:
Friendika 2011-05-17 17:40:00 -07:00
parent 8fa6049b32
commit 8fa9ca520b
2 changed files with 60 additions and 37 deletions

View file

@ -129,8 +129,11 @@
in_progress = false;
$('.ccollapse-wrapper',data).each(function() {
var ident = $(this).attr('id');
var is_hidden = $('#' + ident).is(':hidden');
if($('#' + ident).length) {
$('#' + ident).replaceWith($(this));
if(is_hidden)
$('#' + ident).hide();
}
});
$('.wall-item-outside-wrapper',data).each(function() {