FSN#34247 opent nu geen nieuwe window meer maar vervangt grafiek door plaatje (en geeft alert)

svn path=/Website/trunk/; revision=31067
This commit is contained in:
2016-10-12 12:48:09 +00:00
parent ad87bf9e32
commit 232c2ade98

View File

@@ -442,12 +442,9 @@ function fac_usrrap_list_graph (model, scf_params)
function toImg()
{
var imgData = $('#myGraph').jqplotToImageStr({});
if(/*@cc_on!@*/false || !!document.documentMode){ // if browser is IE
document.getElementById('myGraph').innerHTML = "<img src=" + imgData + "></img>";
$(".hasIcon").hide();
} else {
window.open(imgData);
}
document.getElementById('myGraph').innerHTML = "<img src=" + imgData + "></img>";
$(".hasIcon").hide();
alert(L("lcl_viewimagealert"));
}
</script>
</head>