feat: assignment submission and ui
This commit is contained in:
@@ -205,7 +205,6 @@ const render_chart = (data, chart_name, element, type) => {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
const generate_course_completion_graph = () => {
|
||||
frappe.call({
|
||||
method: "lms.lms.utils.get_course_completion_data",
|
||||
@@ -220,12 +219,10 @@ const generate_course_completion_graph = () => {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
const change_hash = (e) => {
|
||||
window.location.hash = $(e.currentTarget).attr("href");
|
||||
};
|
||||
|
||||
|
||||
const open_tab = () => {
|
||||
$(`a[href="${window.location.hash}"]`).click();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user