Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
anoopmb
/
frappe
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Merge pull request
#1199
from anandpdoshi/anand-july-15
Fixes to print item image in table and freeze attach button while uploading
version-14
Rushabh Mehta
10 anos atrás
pai
548a541365
ed29c8b25e
commit
d64dde68aa
2 arquivos alterados
com
7 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-1
frappe/public/js/frappe/upload.js
+5
-0
frappe/templates/styles/standard.css
+ 2
- 1
frappe/public/js/frappe/upload.js
Ver arquivo
@@ -92,7 +92,8 @@ frappe.upload = {
var attachment = r.message;
opts.callback(attachment, r);
$(document).trigger("upload_complete", attachment);
}
},
btn: opts.btn
});
}
}
+ 5
- 0
frappe/templates/styles/standard.css
Ver arquivo
@@ -24,6 +24,11 @@
.page-break:last-child {
border-bottom: 0px;
}
/* mozilla hack for images in table */
body:last-child .print-format td img {
width: 100% !important;
}
}
@media print {
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar