This commit is contained in:
Nicolas Stepien 2012-09-05 04:00:01 +02:00
parent 774edad77c
commit 6c06547387
2 changed files with 2 additions and 5 deletions

View File

@ -1408,9 +1408,7 @@
inBoard = g.boards[board] || new Board(board); inBoard = g.boards[board] || new Board(board);
inThread = g.threads["" + board + "." + threadID] || new Thread(threadID, inBoard); inThread = g.threads["" + board + "." + threadID] || new Thread(threadID, inBoard);
if (!(post = g.posts["" + board + "." + postID])) { if (!(post = g.posts["" + board + "." + postID])) {
post = new Post(postContainer, thread, board, { post = new Post(postContainer, thread, board);
isArchived: true
});
Main.callbackNodes(Post, [post]); Main.callbackNodes(Post, [post]);
} }
if (!root.parentNode) { if (!root.parentNode) {

View File

@ -1197,8 +1197,7 @@ Get =
# In case of multiple callbacks for the same request, # In case of multiple callbacks for the same request,
# don't parse the same original post more than once. # don't parse the same original post more than once.
unless post = g.posts["#{board}.#{postID}"] unless post = g.posts["#{board}.#{postID}"]
post = new Post postContainer, thread, board, post = new Post postContainer, thread, board
isArchived: true
Main.callbackNodes Post, [post] Main.callbackNodes Post, [post]
# Stop here if the container has been removed while loading. # Stop here if the container has been removed while loading.