Quote the post with the image being edited.
This commit is contained in:
parent
0e1863aa39
commit
285ea622db
@ -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]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user