1。解决Genrate Button无反应问题
?
修改topazlib.js中generateReport函数为:
function generateReport(){ var flag= location.href.indexOf("cmcc-bac"); var navBarFrame = getNavBarFrame(); navBarFrame.submitAll(); if(flag==-1){ document.execCommand('Refresh') } }
?
?2.解决profile选择无反应问题
?
修改\jsp\reports\include\ActiveProfile.jsp文件中updateActiveProfile方法为:
?
?
function updateActiveProfile(){ var flag= location.href.indexOf("cmcc-bac"); var dimRadio = getProfileFilterCtrl(); var selectedValue ; if(typeof(dimRadio.value) != "undefined") selectedValue = dimRadio.value; //in case of only one input in the list else{ //the dim radion is a list of inputs // Loop from zero to the one minus the number of radio button selections for (counter = 0; counter < dimRadio.length; counter++) if (dimRadio[counter].checked) selectedValue = dimRadio[counter].value; }//else var navBar = getNavBarForm(); if (navBar.filterProfileId){ navBar.filterProfileId.value = selectedValue; } navBar.DimensionFilterChanged.value = "true"; submitNavBarFormFiltered(); if(flag==-1){ document.execCommand('Refresh') } }
?
?
?