commit | 6e322d0a0277dad6a7132ad94e1dc5be1fc227b7 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Wed Oct 07 14:30:19 2015 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Wed Oct 14 16:21:24 2015 +0530 |
tree | cad5234bae33645773a1fc7a7d05f15616f5b587 | |
parent | 73e73795f19df8a87fadde827eb8a583ab14d8a2 [diff] [blame] |
[enhancement] use thumbnails in grid views, patch to make thumbnails
diff --git a/erpnext/templates/generators/item.html b/erpnext/templates/generators/item.html index 30ccbce..f24b1a6 100644 --- a/erpnext/templates/generators/item.html +++ b/erpnext/templates/generators/item.html
@@ -94,6 +94,8 @@ {% if variant_info %} window.variant_info = {{ variant_info }}; + {% else %} + window.variant_info = null; {% endif %} </script> {% endblock %}