What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

Before I click on edit on the comment to an answer to Basic PHP problem, code won't run! (no errors just blank) I see:comm

After I edit the comment, the following comment suddenly appears, but it still says add / show 1 more comment (cannot get a screenshot because I am out of my 5 minute limit.)


New example: an answer to Should I remove static function from my code?

step 1


step 2


step 3
^^^What is going on there?

share|improve this question
    
It would be good to know what suddenly appears. –  Hendrik Vogt Jul 29 '11 at 16:45
    
@Hendrik -- lol I left out the word comment sorry about that –  amanaP lanaC A nalP A naM A Jul 29 '11 at 16:46
1  
But it's still hard to help you since we don't know what comment suddenly appears. If you write "the following", then something should follow. –  Hendrik Vogt Jul 30 '11 at 7:25
    
@Hendrik.. the comment that would be seen if one would click on add/show 1 more comment –  amanaP lanaC A nalP A naM A Aug 1 '11 at 14:57
    
@HendrikVogt see update ^_^ –  amanaP lanaC A nalP A naM A Oct 6 '11 at 15:39
    
what web browser -- why are you seeing add/show for questions that have less than five comments? That already should not be happening and does not happen for me in Chrome (current ver). Have you tried clearing your browser cache? –  Jeff Atwood Oct 6 '11 at 21:52
    
@JeffAtwood this is Chrome 14.0.835 And this is the 2nd time I have seen this. –  amanaP lanaC A nalP A naM A Oct 7 '11 at 13:25

1 Answer 1

up vote 3 down vote accepted

When you submit an edit to a comment, the server returns all comments on the post, and the JavaScript displays them, even if some of the comments were hidden previously. What wasn't taken into account so far is that "add / show" then has to be turned into "add", since there's nothing more to show.

This hasn't come up before because a) it's exceptionally rare that someone edits a comment when some comments are hidden (usually it's not even possible), and b) except for an unnecessary AJAX call and confusing wording, this wasn't really a huge issue, hence chances were good of it going by unnoticed.

The next build fixes this. Thanks!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .