Merge pull request #18856 from resilient-tech/better-templates
chore: fully commented, consistently formatted JS boilerplates
This commit is contained in:
commit
0cd3d97132
2 changed files with 8 additions and 8 deletions
|
|
@ -1,8 +1,8 @@
|
|||
// Copyright (c) {year}, {app_publisher} and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('{doctype}', {{
|
||||
// refresh: function(frm) {{
|
||||
// frappe.ui.form.on("{doctype}", {{
|
||||
// refresh(frm) {{
|
||||
|
||||
// }}
|
||||
}});
|
||||
// }},
|
||||
// }});
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* eslint-disable */
|
||||
frappe.listview_settings['{doctype}'] = {{
|
||||
// add_fields: ["status"],
|
||||
// filters:[["status","=", "Open"]]
|
||||
}};
|
||||
// frappe.listview_settings["{doctype}"] = {{
|
||||
// add_fields: ["status"],
|
||||
// filters: [["status","=", "Open"]],
|
||||
// }};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue