nobuttons parameter moet ook gelden voor grafieken 'Naar plaatje' knop
svn path=/Website/branches/v2017.1/; revision=34754
This commit is contained in:
@@ -75,6 +75,7 @@
|
|||||||
|
|
||||||
var outputmode = getQParamInt("outputmode", 0);
|
var outputmode = getQParamInt("outputmode", 0);
|
||||||
var nobuttons = getQParamInt("nobuttons", 0) == 1;
|
var nobuttons = getQParamInt("nobuttons", 0) == 1;
|
||||||
|
var noheader = getQParamInt("noheader", 0) == 1;
|
||||||
|
|
||||||
var rmode = '';
|
var rmode = '';
|
||||||
if (outputmode==2) rmode = 'excel';
|
if (outputmode==2) rmode = 'excel';
|
||||||
@@ -119,7 +120,8 @@
|
|||||||
{ icon: "excel.png", title: L("lcl_export_to_excel"), action: 'rap_excel() ' }
|
{ icon: "excel.png", title: L("lcl_export_to_excel"), action: 'rap_excel() ' }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
IFRAMER_HEADER(model.records_title, buttons);
|
if (!noheader)
|
||||||
|
IFRAMER_HEADER(model.records_title, buttons);
|
||||||
}
|
}
|
||||||
FCLT2XMLResponse ({xmlnode: 'rapport', key: usrrap_key, mode: rmode, where: sql_where});
|
FCLT2XMLResponse ({xmlnode: 'rapport', key: usrrap_key, mode: rmode, where: sql_where});
|
||||||
%>
|
%>
|
||||||
@@ -459,11 +461,14 @@ function fac_usrrap_list_graph (model, scf_params)
|
|||||||
<body id="listbody">
|
<body id="listbody">
|
||||||
<%
|
<%
|
||||||
var widget_height = getQParam("widget_height", null);
|
var widget_height = getQParam("widget_height", null);
|
||||||
|
var nobuttons = getQParamInt("nobuttons", 0) == 1;
|
||||||
|
var noheader = getQParamInt("noheader", 0) == 1;
|
||||||
var mygraph_height = ((widget_height != null) ? parseInt(widget_height) : 500);
|
var mygraph_height = ((widget_height != null) ? parseInt(widget_height) : 500);
|
||||||
var buttons = [];
|
var buttons = [];
|
||||||
if(!nobuttons)
|
if(!nobuttons)
|
||||||
var buttons = [ { icon: "palette.png", title: L("lcl_openimage"), action: "toImg()" } ];
|
var buttons = [ { icon: "palette.png", title: L("lcl_openimage"), action: "toImg()" } ];
|
||||||
IFRAMER_HEADER(model.records_title, buttons);
|
if (!noheader)
|
||||||
|
IFRAMER_HEADER(model.records_title, buttons);
|
||||||
%>
|
%>
|
||||||
<div id="myGraph" style="height:<%=mygraph_height%>px;" ></div>
|
<div id="myGraph" style="height:<%=mygraph_height%>px;" ></div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user