FSN#31698 Rapportgenerator fixes
svn path=/Website/trunk/; revision=24708
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user