diff options
author | 2019-08-12 17:00:12 +0200 | |
---|---|---|
committer | 2019-08-12 17:00:12 +0200 | |
commit | 23b74265af6cca5f85fefd445a5f397b76808501 (patch) | |
tree | 2b24c123966824a30efc889f0cccc4fbd17362a2 /app | |
parent | edff8202f14ff56d42e90e156df6845ae878aa24 (diff) |
Fixed problem with deleting the elements.
The deletion of elements removes correct relation, not all.
Issue-ID: SDC-2506
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ief4a9bb23d6e2c357379ca3dc2c871590ead5e69
Diffstat (limited to 'app')
-rw-r--r-- | app/comp-fe/composition.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/comp-fe/composition.js b/app/comp-fe/composition.js index 0e64e68..0323917 100644 --- a/app/comp-fe/composition.js +++ b/app/comp-fe/composition.js @@ -1971,11 +1971,8 @@ var CompositionEditor = function () { function(resp) { });*/ - curcomp.relations = curcomp - .relations - .filter(function (r) { - r.rid != d.name - }); + curcomp.relations = curcomp.relations.filter(r => r.rid !== d.name); + /*xhrpost("/composition.savecomp?cid="+cid, curcomp, function(resp) { });*/ |