Crystal Reports 10 - Report Application Server - CrystalReportsViewer.asp
The problem appears to be in the dynamically created java script... java script doen not support the dash in "CR_hdl_-2051178031"
I assume this is a random number that should not ever be negative... tried installing hot fixes and SP 6
-------------code-------------------
<script language="javascript">
<!--
var CR_hdl_-2051178031 = new Array();
var CR_oldOnunload_-2051178031 = window.onunload;
function CR_doOnunload_-2051178031() {
if (CR_hdl_-2051178031 && CR_hdl_-2051178031.constructor == Array) {
var popupCount = CR_hdl_-2051178031.length;
for (var i = 0; i < popupCount; i++)
{
var popupWindow = CR_hdl_-2051178031;
if (popupWindow && !popupWindow.closed && popupWindow.checkForCRViewerExportWindowExistence)
{
popupWindow.close();
}
}
if(CR_oldOnunload_-2051178031) {
CR_oldOnunload_-2051178031.apply(this, arguments);
}
}
}
function doExport(type) {
var url = "/student/reports_asp/CrystalReportsViewer.asp?CrystalEventTarget=CrystalReportsViewer&tb=" + type + "&insubrpt=false";
var popupWindow = window.open(url, '', 'height=400,menubar,resizable,status,width=600');
if (CR_hdl_-2051178031 && CR_hdl_-2051178031.constructor == Array)
{
CR_hdl_-2051178031.push(popupWindow);
}
popupWindow.focus();
}
window.onunload = CR_doOnunload_-2051178031;
// -->
</script>
------------------end code----------------------
</script>
The problem appears to be in the dynamically created java script... java script doen not support the dash in "CR_hdl_-2051178031"
I assume this is a random number that should not ever be negative... tried installing hot fixes and SP 6
-------------code-------------------
<script language="javascript">
<!--
var CR_hdl_-2051178031 = new Array();
var CR_oldOnunload_-2051178031 = window.onunload;
function CR_doOnunload_-2051178031() {
if (CR_hdl_-2051178031 && CR_hdl_-2051178031.constructor == Array) {
var popupCount = CR_hdl_-2051178031.length;
for (var i = 0; i < popupCount; i++)
{
var popupWindow = CR_hdl_-2051178031;
if (popupWindow && !popupWindow.closed && popupWindow.checkForCRViewerExportWindowExistence)
{
popupWindow.close();
}
}
if(CR_oldOnunload_-2051178031) {
CR_oldOnunload_-2051178031.apply(this, arguments);
}
}
}
function doExport(type) {
var url = "/student/reports_asp/CrystalReportsViewer.asp?CrystalEventTarget=CrystalReportsViewer&tb=" + type + "&insubrpt=false";
var popupWindow = window.open(url, '', 'height=400,menubar,resizable,status,width=600');
if (CR_hdl_-2051178031 && CR_hdl_-2051178031.constructor == Array)
{
CR_hdl_-2051178031.push(popupWindow);
}
popupWindow.focus();
}
window.onunload = CR_doOnunload_-2051178031;
// -->
</script>
------------------end code----------------------
</script>