diff --git a/erpnext/education/doctype/instructor/instructor.js b/erpnext/education/doctype/instructor/instructor.js
index 6876b400d34..24e80fa9378 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 973082ffc0c..b59d8488285 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({