Fixed  "View Previous Comments" Shows Duplicates

Hi all, just a quick bug I noticed.

On a user's page, if you click View Previous Comments to load the hidden ones, it will show the the entire set of comments, followed by the ones that were already there, causing duplicates.

Sorry to single out a member but to reproduce it, check out forsaken's profile, and click view more comments on his post from Sep 5.



Well-known member
Beta 2:
xhr request sent as ./profile-posts/1/comments&before=1288941189

Beta 3:
xhr request sent as ./profile-posts/2045/comments?null

In ./js/xenforo/comments_simple.js (lines 16-30), the loadParams variable seems to be an object already; so running it through $.parseJSON returns null.