FSN#44427 Bijlagen upload voor issues. Prio ook default '3'

svn path=/Website/branches/v2017.2/; revision=35522
This commit is contained in:
Jos Groot Lipman
2017-10-03 09:46:03 +00:00
parent ee6bdccd6e
commit 2591a5ac0a

View File

@@ -424,7 +424,6 @@ function model_issues(mld_key, params)
this.REST_POST = function (params, jsondata) /* new call */ this.REST_POST = function (params, jsondata) /* new call */
{ {
__Logging = 3;
api2.cleanup_data(this, jsondata); // Doet een generieke dereference van alle foreign's api2.cleanup_data(this, jsondata); // Doet een generieke dereference van alle foreign's
// //
@@ -449,6 +448,8 @@ __Logging = 3;
jsondata.account = kpkey; jsondata.account = kpkey;
if (!jsondata.issuedate) if (!jsondata.issuedate)
jsondata.issuedate = new Date(); jsondata.issuedate = new Date();
if (!jsondata.priority)
jsondata.priority = 3;
// //
if (!jsondata.contact) jsondata.contact = user_key; // Als er geen aanvrager opgegeven is, dan de huidige gebruiker invullen. if (!jsondata.contact) jsondata.contact = user_key; // Als er geen aanvrager opgegeven is, dan de huidige gebruiker invullen.