Add to doctype's list js via code hooks

This commit is contained in:
bhupeshg2 2015-02-26 11:19:50 +05:30
parent 2a82b9abf3
commit bbfc3d1137

View file

@ -68,6 +68,7 @@ class FormMeta(Meta):
self.set("__listview_template", get_html_format(listview_template))
self.add_code_via_hook("doctype_js", "__js")
self.add_code_via_hook("doctype_list_js", "__list_js")
self.add_custom_script()
def _add_code(self, path, fieldname):