fix: formatting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
frappe.ready(function() {
|
||||
frappe.ready(function () {
|
||||
frappe.web_form.after_save = () => {
|
||||
setTimeout(() => {
|
||||
window.history.back();
|
||||
});
|
||||
};
|
||||
})
|
||||
});
|
||||
|
||||
@@ -2,6 +2,7 @@ import frappe
|
||||
from frappe import _
|
||||
from lms.lms.utils import has_course_moderator_role
|
||||
|
||||
|
||||
def get_context(context):
|
||||
|
||||
if not has_course_moderator_role():
|
||||
|
||||
Reference in New Issue
Block a user