[fix] attach image refresh, fixes frappe/erpnext#9725
This commit is contained in:
parent
4bdd483d4e
commit
4fbb05d1ef
1 changed files with 1 additions and 0 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue