Ver código fonte

[fix] attach image refresh, fixes frappe/erpnext#9725

version-14
Rushabh Mehta 8 anos atrás
pai
commit
4fbb05d1ef
1 arquivos alterados com 1 adições e 0 exclusões
  1. +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") {


Carregando…
Cancelar
Salvar