refresh only if timeline (#5050)
This commit is contained in:
parent
a1b46cdfac
commit
c8d13c07ba
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ frappe.ui.form.Attachments = Class.extend({
|
|||
}
|
||||
me.remove_fileid(fileid);
|
||||
me.frm.get_docinfo().communications.push(r.message);
|
||||
me.frm.timeline.refresh();
|
||||
me.frm.timeline && me.frm.timeline.refresh();
|
||||
if (callback) callback();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue