diff --git a/community/community/doctype/community_course/community_course.js b/community/community/doctype/community_course/community_course.js index db678744..c1f014ed 100644 --- a/community/community/doctype/community_course/community_course.js +++ b/community/community/doctype/community_course/community_course.js @@ -2,9 +2,4 @@ // For license information, please see license.txt frappe.ui.form.on('Community Course', { - before_submit: function (form) { - if (!form.doc.route) { - form.doc.route = "/courses/" + form.doc.name - } - } });