Quote the post with the image being edited.

This commit is contained in:
ccd0 2015-10-25 21:46:06 -07:00
parent 0e1863aa39
commit 285ea622db

View File

@ -20,12 +20,9 @@ QR.oekaki =
editFile: -> editFile: ->
return unless QR.postingIsEnabled return unless QR.postingIsEnabled
QR.quote.call @
post = Get.postFromNode @ post = Get.postFromNode @
CrossOrigin.file post.file.url, (blob) -> CrossOrigin.file post.file.url, (blob) ->
QR.openPost()
{com, thread} = QR.nodes
thread.value = (post.context or post).thread.ID unless com.value
QR.selected.save thread
if blob if blob
blob.name = post.file.name blob.name = post.file.name
QR.handleFiles [blob] QR.handleFiles [blob]