Browse Source

[minor] fix image view, frappe/erpnext#7062

version-14
Rushabh Mehta 8 years ago
parent
commit
b9fd3ea5aa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/list/listview.js

+ 1
- 1
frappe/public/js/frappe/list/listview.js View File

@@ -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…
Cancel
Save