`
taupo
  • 浏览: 28531 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论

嵌入EUM报告

    博客分类:
  • BAC
JSP 
阅读更多

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

  }

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics