Dashboard: Removed testing code on click-to-call function.

This commit is contained in:
reliberate 2016-03-10 16:49:26 -07:00
parent 904a18d997
commit 1b885beea5
1 changed files with 0 additions and 3 deletions

View File

@ -893,8 +893,6 @@
if ((in_array('missed', $selected_blocks) || in_array('recent', $selected_blocks)) && permission_exists('xml_cdr_view')) {
echo "<script type=\"text/javascript\">\n";
echo " function send_cmd(url) {\n";
echo " alert('call made');\n";
echo " /*";
echo " if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari\n";
echo " xmlhttp=new XMLHttpRequest();\n";
echo " }\n";
@ -904,7 +902,6 @@
echo " xmlhttp.open(\"GET\",url,true);\n";
echo " xmlhttp.send(null);\n";
echo " document.getElementById('cmd_reponse').innerHTML=xmlhttp.responseText;\n";
echo " */";
echo " }\n";
echo "</script>\n";
}