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 nobuttons = getQParamInt("nobuttons", 0) == 1;
|
||||
var noheader = getQParamInt("noheader", 0) == 1;
|
||||
|
||||
var rmode = '';
|
||||
if (outputmode==2) rmode = 'excel';
|
||||
@@ -119,6 +120,7 @@
|
||||
{ icon: "excel.png", title: L("lcl_export_to_excel"), action: 'rap_excel() ' }
|
||||
];
|
||||
}
|
||||
if (!noheader)
|
||||
IFRAMER_HEADER(model.records_title, buttons);
|
||||
}
|
||||
FCLT2XMLResponse ({xmlnode: 'rapport', key: usrrap_key, mode: rmode, where: sql_where});
|
||||
@@ -459,10 +461,13 @@ function fac_usrrap_list_graph (model, scf_params)
|
||||
<body id="listbody">
|
||||
<%
|
||||
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 buttons = [];
|
||||
if(!nobuttons)
|
||||
var buttons = [ { icon: "palette.png", title: L("lcl_openimage"), action: "toImg()" } ];
|
||||
if (!noheader)
|
||||
IFRAMER_HEADER(model.records_title, buttons);
|
||||
%>
|
||||
<div id="myGraph" style="height:<%=mygraph_height%>px;" ></div>
|
||||
|
||||
Reference in New Issue
Block a user