1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Don't refresh PDF after file uploaded

This commit is contained in:
Hillel Coren 2016-06-01 17:32:51 +03:00
parent 1bed3dbdf5
commit e312f00b80

View File

@ -1485,7 +1485,9 @@
file.public_id = response.document.public_id
model.invoice().documents()[file.index].update(response.document);
window.countUploadingDocuments--;
@if ($account->invoice_embed_documents)
refreshPDF(true);
@endif
if(response.document.preview_url){
dropzone.emit('thumbnail', file, response.document.preview_url);
}