FSN#44427 Bijlagen upload voor issues. Prio ook default '3'
svn path=/Website/branches/v2017.2/; revision=35522
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user