From 1c4d732873ff133b2d82c0e8a02ff455c6c90c28 Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Sat, 24 Oct 2020 00:21:05 +0530 Subject: [PATCH] fix: sider and translation issues --- erpnext/education/doctype/instructor/instructor.js | 2 +- .../student_attendance_tool/student_attendance_tool.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/education/doctype/instructor/instructor.js b/erpnext/education/doctype/instructor/instructor.js index 6876b400d3..24e80fa937 100644 --- a/erpnext/education/doctype/instructor/instructor.js +++ b/erpnext/education/doctype/instructor/instructor.js @@ -58,7 +58,7 @@ frappe.ui.form.on("Instructor", { filters: { "program": d.program } - } + }; }); } }); \ No newline at end of file diff --git a/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js b/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js index 973082ffc0..b59d848828 100644 --- a/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js +++ b/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js @@ -135,8 +135,8 @@ education.StudentsEditor = Class.extend({ return !stud.disabled && !stud.checked; }); - frappe.confirm(__("Do you want to update attendance?
Present: {0}\ -
Absent: {1}", [students_present.length, students_absent.length]), + frappe.confirm(__("Do you want to update attendance?
Present: {0}
Absent: {1}", + [students_present.length, students_absent.length]), function() { //ifyes if(!frappe.request.ajax_count) { frappe.call({