Files
Facilitor/APPL/FAC/fac_reportx.js
Erik Groener 1f40d0cf96 FSN#34749 Mogelijkheid voor jqplot Graphs Default options
svn path=/Website/trunk/; revision=27637
2016-01-06 15:35:35 +00:00

44 lines
880 B
JavaScript

/*
$Revision$
$Id$
File: fac_report.js
*/
$(document).ready(function () {
setTimeout("init_reportx()", 100);
});
function init_reportx()
{
$("#graph").change(function() {change_graph(); });
if ($("#graph").val() != 0)
$("#graph_type").addClass("required");
}
function change_graph()
{
if ($("#graph").val() == 0)
{
$("#graph_type").removeClass("required");
$("#graph_type").val(null);
}
else
$("#graph_type").addClass("required");
}
function show_report(key)
{
var url = "appl/fac/fac_report.asp?usrrap_key=" + key;
FcltMgr.openDetail(url);
}
function clone_report(key)
{
if (confirm(L("lcl_usrrap_clone_confirm")))
{
var url = "appl/fac/fac_usrrapx_clone.asp?usrrap_key=" + key;
FcltMgr.openDetail(url);
}
}