Commit 5f8b5c87 authored by Muhammadali's avatar Muhammadali

update-

parent 8812ab4e
...@@ -25,7 +25,7 @@ export class BoxDialer { ...@@ -25,7 +25,7 @@ export class BoxDialer {
viewVideoRemote; viewVideoRemote;
viewLocalScreencast; // <video> (webrtc) or <div> (webrtc4all) viewLocalScreencast; // <video> (webrtc) or <div> (webrtc4all)
oConfigCall; oConfigCall;
callDirectio3324077n; callDirection;
oReadyStateTimer; oReadyStateTimer;
ringtone; ringtone;
ringbacktone; ringbacktone;
......
...@@ -78,6 +78,13 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -78,6 +78,13 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
setWsphonedata(result); setWsphonedata(result);
}; };
useEffect(() => {
window.document.body.addEventListener('keydown', function (e) {
e = e || event;
alert(e.keyCode);
e.preventDefault ? e.preventDefault() : (e.returnValue = false);
});
}, []);
const selectWidjetType = (type) => { const selectWidjetType = (type) => {
switch (type) { switch (type) {
case 'bxmini': case 'bxmini':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment