mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 10:57:56 +00:00
feat: Add call sound effects
This commit is contained in:
@@ -56,7 +56,7 @@ class CallPopup {
|
||||
delete erpnext.call_popup;
|
||||
this.dialog.hide();
|
||||
});
|
||||
frappe.utils.play_sound("incoming_call");
|
||||
frappe.utils.play_sound("incoming-call");
|
||||
this.dialog.show();
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ class CallPopup {
|
||||
}
|
||||
|
||||
call_disconnected(call_log) {
|
||||
frappe.utils.play_sound("call_disconnect");
|
||||
frappe.utils.play_sound("call-disconnect");
|
||||
this.update_call_log(call_log);
|
||||
setTimeout(this.get_close_btn().click, 10000);
|
||||
}
|
||||
|
||||
BIN
erpnext/public/sounds/call-disconnect.mp3
Normal file
BIN
erpnext/public/sounds/call-disconnect.mp3
Normal file
Binary file not shown.
BIN
erpnext/public/sounds/incoming-call.mp3
Normal file
BIN
erpnext/public/sounds/incoming-call.mp3
Normal file
Binary file not shown.
Reference in New Issue
Block a user