当前位置: 代码迷 >> Web前端 >> 嵌入EUM汇报
  详细解决方案

嵌入EUM汇报

热度:155   发布时间:2012-10-30 16:13:36.0
嵌入EUM报告

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') 
}

  }

?

?

?

  相关解决方案