FSN#35498 UDR: kolom-expressies mogelijk maken
svn path=/Website/trunk/; revision=30049
This commit is contained in:
@@ -110,9 +110,13 @@ function model_reportsx(usrrap_key, rapparams)
|
||||
this.hook_pre_edit = function (obj)
|
||||
{
|
||||
this.fields.styling.LOV = api2.filterLOV(L("lcl_usrrap_stylingLOV"), "0,1,2,3,8,16"); // De meesten mogen L(ike) niet
|
||||
|
||||
this.fields.graph_type.LOV = "0;;" + this.fields.graph_type.LOV; // 0 is ook een geldige waarde --> toevoegen aan LOV in lcl_usrrap_graphtypeLOV
|
||||
this.fields.graph_type.LOV = api2.filterLOV(this.fields.graph_type.LOV, "0,1,3,4"); // dashboard nu nog even niet.
|
||||
|
||||
if (obj.graph.id > 0)
|
||||
{
|
||||
this.fields.graph_type.LOV = this.fields.graph_type.LOV.substring(3);
|
||||
this.fields.graph_type.LOV = api2.filterLOV(this.fields.graph_type.LOV, "1,3,4"); // dashboard nu nog even niet.
|
||||
}
|
||||
};
|
||||
|
||||
this.REST_GET = function _reportsx_GET(params, jsondata)
|
||||
|
||||
Reference in New Issue
Block a user