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
[fix] attach image refresh,
fixes
frappe/erpnext#9725
version-14
Rushabh Mehta
8 anos atrás
pai
4bdd483d4e
commit
4fbb05d1ef
1 arquivos alterados
com
1 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
frappe/public/js/frappe/form/control.js
+ 1
- 0
frappe/public/js/frappe/form/control.js
Ver arquivo
@@ -1166,6 +1166,7 @@ frappe.ui.form.ControlAttachImage = frappe.ui.form.ControlAttach.extend({
this.set_image();
},
refresh_input: function() {
this._super();
$(this.wrapper).find('.btn-attach').addClass('hidden');
this.set_image();
if(this.get_status()=="Read") {
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar