[fix]syntax error on file list (#3559)
* [fix]syntax error on file list * [fix]Linked with file bug
This commit is contained in:
parent
7074d0cfe1
commit
42100a15bc
2 changed files with 6 additions and 4 deletions
|
|
@ -235,5 +235,5 @@ frappe.listview_settings['File'] = {
|
|||
.appendTo(doclist.breadcrumb);
|
||||
}
|
||||
});
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -103,9 +103,11 @@ frappe.ui.form.LinkedWith = class LinkedWith {
|
|||
var me = this;
|
||||
let links = null;
|
||||
|
||||
links =
|
||||
Object.keys(this.frm.__linked_doctypes)
|
||||
.filter(frappe.model.can_get_report);
|
||||
if (this.frm.__linked_doctypes) {
|
||||
links =
|
||||
Object.keys(this.frm.__linked_doctypes)
|
||||
.filter(frappe.model.can_get_report);
|
||||
}
|
||||
|
||||
let flag;
|
||||
if(!links) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue