Added Music on hold chooser to in-group screen
git-svn-id: svn://192.168.202.10@1216 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
# 90627-0548 - Added no-agent-no-queue options
|
||||
# 90628-1016 - Added Text-to-speech options
|
||||
# 90830-2213 - Added Music On Hold options
|
||||
# 90904-1534 - Added launch_moh_chooser
|
||||
#
|
||||
|
||||
|
||||
@@ -396,6 +397,19 @@ else
|
||||
document.getElementById("audio_chooser_span").innerHTML = Iframe_content;
|
||||
}
|
||||
|
||||
function launch_moh_chooser(fieldname,stage,vposition)
|
||||
{
|
||||
var audiolistURL = "./non_agent_api.php";
|
||||
var audiolistQuery = "source=admin&function=moh_list&user=" + user + "&pass=" + pass + "&format=selectframe&stage=" + stage + "&comments=" + fieldname;
|
||||
var Iframe_content = '<IFRAME SRC="' + audiolistURL + '?' + audiolistQuery + '" style="width:740;height:440;background-color:white;" scrolling="NO" frameborder="0" allowtransparency="true" id="audio_chooser_frame' + epoch + '" name="audio_chooser_frame" width="740" height="460" STYLE="z-index:2"> </iframe>';
|
||||
|
||||
document.getElementById("audio_chooser_span").style.position = "absolute";
|
||||
document.getElementById("audio_chooser_span").style.left = "220px";
|
||||
document.getElementById("audio_chooser_span").style.top = vposition + "px";
|
||||
document.getElementById("audio_chooser_span").style.visibility = 'visible';
|
||||
document.getElementById("audio_chooser_span").innerHTML = Iframe_content;
|
||||
}
|
||||
|
||||
function close_chooser()
|
||||
{
|
||||
document.getElementById("audio_chooser_span").style.visibility = 'hidden';
|
||||
|
||||
Reference in New Issue
Block a user