mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[communications] [minor] Code cleanup so it can be extended by custom script
This commit is contained in:
@@ -26,7 +26,12 @@ $(document).ready(function() {
|
||||
sender: email,
|
||||
message: message,
|
||||
callback: function(r) {
|
||||
msgprint(r.message);
|
||||
if(r.status==="okay") {
|
||||
msgprint(r.message or "Sent")
|
||||
} else {
|
||||
msgprint("There were errors");
|
||||
console.log(r.exc);
|
||||
}
|
||||
$(':input').val('');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user