mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Don't refresh PDF after file uploaded
This commit is contained in:
parent
1bed3dbdf5
commit
e312f00b80
@ -1485,7 +1485,9 @@
|
||||
file.public_id = response.document.public_id
|
||||
model.invoice().documents()[file.index].update(response.document);
|
||||
window.countUploadingDocuments--;
|
||||
refreshPDF(true);
|
||||
@if ($account->invoice_embed_documents)
|
||||
refreshPDF(true);
|
||||
@endif
|
||||
if(response.document.preview_url){
|
||||
dropzone.emit('thumbnail', file, response.document.preview_url);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user