fix: notify-me-ux

This commit is contained in:
Jannat Patel
2021-11-23 22:28:07 +05:30
parent 9582a27dc6
commit 6ae346df44
2 changed files with 9 additions and 5 deletions

View File

@@ -215,8 +215,7 @@ var notify_user = (e) => {
"course": course
},
callback: (data) => {
frappe.msgprint(__("Your interest has been noted. We'll notify you via email when this course becomes available."));
$("#notify-me").attr("disabled", true).attr("title", "Your interest has already been noted");
$("#interest-alert").removeClass("hide");
}
})
}