can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r17560: LJSUP-6869: do not update collapsed comm...

Committer: dpetrov
LJSUP-6869: do not update collapsed comment blocks
U   trunk/htdocs/js/commentmanage.js
Modified: trunk/htdocs/js/commentmanage.js
===================================================================
--- trunk/htdocs/js/commentmanage.js	2010-10-13 11:31:45 UTC (rev 17559)
+++ trunk/htdocs/js/commentmanage.js	2010-10-14 01:51:01 UTC (rev 17560)
@@ -469,7 +469,7 @@
 
 					getThreadJSON(threadId, function(result) {
 						//if comment is expanded we need to fetch it's collapsed state additionally
-						if( threadExpanded )
+						if( threadExpanded && LJ_cmtinfo[ threadId ].oldvars.full )
 						{
 							getThreadJSON( threadId, function(result2){
 								ExpanderEx.Collection[ threadId ] = ExpanderEx.prepareCommentBlock( result2[0].html, threadId, true );

Tags: can3p, js, livejournal
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments