FSN#31698 Rapportgenerator fixes

svn path=/Website/trunk/; revision=24708
This commit is contained in:
Jos Groot Lipman
2015-04-07 14:28:50 +00:00
parent 5f08769987
commit e89a495702
2 changed files with 18 additions and 8 deletions

View File

@@ -158,7 +158,7 @@ function model_reportcolumns(usrrap_key, params)
}
var params = { internal: true };
this.REST_POST(params, colpar, usrrap_key);
this._REST_POST(params, colpar, usrrap_key); // internal _REST_POST is er altijd
oRs.MoveNext();
}
oRs.Close();
@@ -196,7 +196,7 @@ function model_reportcolumns(usrrap_key, params)
return { key: the_key };
},
// Only internally used by report_clone
this.REST_POST = function (params, jsondata, parent_key) /* insert columns */
this._REST_POST = function (params, jsondata, parent_key) /* insert columns */
{
var fields = api2.update_fields(params, this, jsondata); // Build updater
@@ -213,9 +213,9 @@ function model_reportcolumns(usrrap_key, params)
}
// REST_DELETE: not supported
if (!params.internal)
if (params.internal)
{
this.REST_POST = false;
this.REST_POST = this._REST_POST; // Voor de clone-report
}
}