postID should be copied to clones also.
This commit is contained in:
parent
171202665e
commit
d2c2c017f1
@ -2,7 +2,7 @@ Post.Clone = class extends Post
|
|||||||
isClone: true
|
isClone: true
|
||||||
|
|
||||||
constructor: (@origin, @context, contractThumb) ->
|
constructor: (@origin, @context, contractThumb) ->
|
||||||
for key in ['ID', 'threadID', 'boardID', 'siteID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']
|
for key in ['ID', 'postID', 'threadID', 'boardID', 'siteID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply']
|
||||||
# Copy or point to the origin's key value.
|
# Copy or point to the origin's key value.
|
||||||
@[key] = @origin[key]
|
@[key] = @origin[key]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user