[minor] fix image view, frappe/erpnext#7062
This commit is contained in:
parent
7128289ad6
commit
b9fd3ea5aa
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ frappe.views.ListView = Class.extend({
|
|||
this.doclistview = doclistview;
|
||||
this.doctype = doctype;
|
||||
this.meta = frappe.get_doc("DocType", this.doctype);
|
||||
this.image_field = this.meta.image_field || image;
|
||||
this.image_field = this.meta.image_field || 'image';
|
||||
this.settings = frappe.listview_settings[this.doctype] || {};
|
||||
if(this.meta.__listview_template) {
|
||||
this.template_name = doctype + "_listview";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue