dashboard and patch for lesson
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
frappe.ready(function() {
|
||||
// bind events here
|
||||
})
|
||||
frappe.web_form.after_save = () => {
|
||||
window.location.href = `/courses/${frappe.web_form.doc.course}`;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"allow_print": 0,
|
||||
"amount": 0.0,
|
||||
"amount_based_on_field": 0,
|
||||
"apply_document_permissions": 0,
|
||||
"apply_document_permissions": 1,
|
||||
"button_label": "Save",
|
||||
"creation": "2022-03-07 18:41:07.058806",
|
||||
"doc_type": "Course Chapter",
|
||||
@@ -19,7 +19,7 @@
|
||||
"is_standard": 1,
|
||||
"login_required": 1,
|
||||
"max_attachment_size": 0,
|
||||
"modified": "2022-03-07 18:41:07.058806",
|
||||
"modified": "2022-03-14 18:48:01.704325",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "chapter",
|
||||
|
||||
Reference in New Issue
Block a user