SGGR#47247 Geen WEB_MLDMGT rechten meer nodig om bijlage te uploaden (achterhalen attributetype)
svn path=/Website/branches/v2017.2/; revision=35777
This commit is contained in:
@@ -161,7 +161,7 @@ function model_mld_kenmerk(niveau, params)
|
||||
|
||||
this.getPropertyType = function (kenmerkdata)
|
||||
{
|
||||
var typedata = api2.GET(new model_mld_srtkenmerk(), kenmerkdata.issuepropertytype.id);
|
||||
var typedata = api2.GET(new model_mld_srtkenmerk({internal: params.internal}), kenmerkdata.issuepropertytype.id);
|
||||
return typedata;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,14 +13,15 @@
|
||||
%>
|
||||
<%
|
||||
|
||||
function model_mld_srtkenmerk()
|
||||
function model_mld_srtkenmerk(params)
|
||||
{
|
||||
params = params || {};
|
||||
this.records_name = "issuepropertytypes";
|
||||
this.record_name = "issuepropertytype";
|
||||
this.table = "mld_srtkenmerk";
|
||||
this.primary = "mld_srtkenmerk_key";
|
||||
this.soft_delete = "mld_srtkenmerk_verwijder";
|
||||
this.autfunction = "WEB_MLDMGT";
|
||||
this.autfunction = params.internal?false:"WEB_MLDMGT";
|
||||
this.record_title = L("mld_srtkenmerk");
|
||||
this.records_title = L("mld_srtkenmerk_m");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user