f2b79863 by G Manojkumar

added resetcallArray

1 parent 7f0705ea
......@@ -143,6 +143,7 @@ function kcallHasConnection(number)
function dialerQuickOpen(varid,num,state,substate,autorun)
{
resetCallArray();
if(kstychCall['mCallState']=="Wait")
{
var oldpreviewid=kstychCall['previewcrmid'];
......@@ -909,7 +910,9 @@ function updateDialerState(objstr,key,val,key2,val2)
resetCallArray();
}
if(val=="Manual"){
resetCallArray();
}
$("#dialersearchresults").html("");
kSetDData('C','ts_Wait',getNowTS());//TODO reset here?
......@@ -927,7 +930,7 @@ function updateDialerState(objstr,key,val,key2,val2)
function(retstr){
if(kstychCall['previewcrmid']!="")
{
kSetDData('C','previewcrmid',"");
//kSetDData('C','previewcrmid',"");
updateDialerState();
}
else
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!