Commit 5d51311e authored by Muhammadali's avatar Muhammadali

update-

parent 3ff88cbd
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.7.8", "version": "4.7.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -241,7 +241,6 @@ export class BoxDialer { ...@@ -241,7 +241,6 @@ export class BoxDialer {
} }
isUaRunning() { isUaRunning() {
return ( return (
Boolean(typeof window.BX !== 'undefined') && Boolean(typeof window.BX !== 'undefined') &&
Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')) && Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')) &&
...@@ -369,6 +368,9 @@ export class BoxDialer { ...@@ -369,6 +368,9 @@ export class BoxDialer {
register_expires: 60, register_expires: 60,
}); });
if (typeof BX !== 'undefined') { if (typeof BX !== 'undefined') {
console.log(
'setting_my_call =============================-----------',
);
window.localStorage.setItem( window.localStorage.setItem(
BX.bitrix_sessid() + '_mycall', BX.bitrix_sessid() + '_mycall',
this.ua.configuration.instance_id, this.ua.configuration.instance_id,
......
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