Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc-beu-v2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7f0705ea
authored
2018-11-09 18:52:20 +0530
by
G Manojkumar
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added array for userRole
1 parent
b8733271
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
application/public/assets/js/dialer.js
application/public/assets/js/dialer.js
View file @
7f0705e
...
...
@@ -424,12 +424,13 @@ function dialerUIUpdate(var1,var2,var3)
function
incomingPopupAlert
(
var1
,
var2
,
var3
)
{
var
loginRoleArray
=
[
"Unit_Head"
];
//var incomingnotify=growlSNotify(var1,var2,"top-right");
//setTimeout(function(){$.gritter.remove(incomingnotify, {fade: true,speed: 'slow'});incomingnotify=0;},1500);
if
((
kstychCall
[
'ts_Talk'
]
===
0
&&
kstychCall
[
'ts_Call'
]
===
0
)){
if
(
$
(
'#userLoginRole'
).
val
()
==
"Unit_Head"
)
startRingTone
();
//console.log($('#userLoginRole').val());
if
(
$
.
inArray
(
$
(
'#userLoginRole'
).
val
(),
loginRoleArray
)
>-
1
)
startRingTone
();
}
//console.log(kstychCall['ts_Talk']);
//console.log(kstychCall['ts_Call']);
//console.log($('#userLoginRole').val());
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment