dashboard and patch for lesson

This commit is contained in:
Jannat Patel
2022-03-14 19:07:02 +05:30
34 changed files with 389 additions and 218 deletions

View File

@@ -1,7 +1,5 @@
frappe.ready(function() {
frappe.web_form.after_save = () => {
setTimeout(() => {
window.location.href = `/courses/${frappe.web_form.doc.name}`;
})
}
frappe.web_form.after_save = () => {
window.location.href = `/dashboard#courses-created`;
}
});

View File

@@ -20,7 +20,7 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2022-03-09 10:10:30.069458",
"modified": "2022-03-11 12:32:22.512115",
"modified_by": "Administrator",
"module": "LMS",
"name": "course",
@@ -121,7 +121,7 @@
{
"allow_read_on_all_link_options": 0,
"fieldname": "description",
"fieldtype": "Data",
"fieldtype": "Text",
"hidden": 0,
"label": "Description",
"max_length": 0,