mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Don't refresh PDF after file uploaded
This commit is contained in:
parent
e392ed1921
commit
0c2bd4414d
@ -1435,7 +1435,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…
x
Reference in New Issue
Block a user