rushfee/WebContent/www/huaweiScripts/common/agentdialog.js

53 lines
866 B
JavaScript
Raw Normal View History

2022-05-16 15:07:40 +00:00
var ChildRet;
function OpenDialog(sOprType){
var arg = new Object();
arg.win = window;
arg.str = sOprType;
var ret = window.showModalDialog("huaweiScripts/common/agentdialog.html",arg,"dialogWidth=320px;dialogHeight=240px;status=yes;help=no;");
return ret;
}
function OpenCallOutDialog()
{
return OpenDialog('CallOut');
}
function OpenInnerCallDialog()
{
return OpenDialog('InnerCall');
}
function OpenDTMFDialog()
{
return OpenDialog('DTMF');
}
function OpenCallDataDialog()
{
return OpenDialog('CallData');
}
function OpenTransferDialog()
{
return OpenDialog('Transfer');
}
function OpenInnerHelpDialog()
{
return OpenDialog('InnerHelp');
}
function OpenBusyDialog()
{
return OpenDialog('BusyWithReason');
}
function OpenMultiConfDialog()
{
return OpenDialog('MultiConf');
}
function OpenModifyPWDDialog()
{
return OpenDialog('ModifyPWD');
}