Don't paste HTML error messages / redirects into the QR when posting from URL. #735
This commit is contained in:
parent
2b75b393e0
commit
4fc66d19a2
@ -378,7 +378,7 @@ QR =
|
||||
return if url is null
|
||||
QR.nodes.fileButton.focus()
|
||||
CrossOrigin.file url, (blob) ->
|
||||
if blob
|
||||
if blob and not /^text\//.test blob.type
|
||||
QR.handleFiles [blob]
|
||||
else
|
||||
QR.error "Can't load file."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user