- performance optimizations for "/api/signature/save" endpoint

- upgraded "jQuery" JS lib `v3.1.1` -> `v3.3.1`
This commit is contained in:
Mark Friedrich
2018-07-07 12:09:08 +02:00
parent 5e21857d67
commit f9d7b00672
17 changed files with 38 additions and 117 deletions

View File

@@ -56,8 +56,10 @@ class Connection extends Controller\AccessController {
$connection = Model\BasicModel::getNew('ConnectionModel');
$connection->getById( (int)$connectionData['id'] );
$connectionData['mapId'] = $map;
$connection->setData($connectionData);
$connection->mapId = $map;
$connection->source = $source;
$connection->target = $target;
$connection->copyfrom($connectionData, ['scope', 'type']);
// change the default type for the new connection
$connection->setDefaultTypeData();