Merge pull request #8320 from manassolanki/newsl

Route to newsletter listview
This commit is contained in:
Nabin Hait 2017-04-05 12:33:14 +05:30 committed by GitHub
commit 8013d1813a
2 changed files with 0 additions and 6 deletions

View File

@ -14,9 +14,6 @@ frappe.ui.form.on('Student Batch', {
}); });
}); });
frm.add_custom_button(__("Newsletter"), function() { frm.add_custom_button(__("Newsletter"), function() {
frappe.route_options = {
email_group: frm.doc.name
}
frappe.set_route("List", "Newsletter"); frappe.set_route("List", "Newsletter");
}); });
} }

View File

@ -26,9 +26,6 @@ frappe.ui.form.on("Student Group", {
}); });
}); });
frm.add_custom_button(__("Newsletter"), function() { frm.add_custom_button(__("Newsletter"), function() {
frappe.route_options = {
email_group: frm.doc.name
}
frappe.set_route("List", "Newsletter"); frappe.set_route("List", "Newsletter");
}); });
} }