fix: formatting

This commit is contained in:
Jannat Patel
2022-11-23 15:14:15 +05:30
parent 91e71091ef
commit 96849afcba
4 changed files with 5 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
frappe.ready(function() {
frappe.ready(function () {
frappe.web_form.after_save = () => {
setTimeout(() => {
window.history.back();
});
};
})
});

View File

@@ -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():