Merge pull request #2266 from okriuchykhin/ok_SCI_4145

Fix issue with clone & move task to another experiment [SCI-4145]
This commit is contained in:
Alex Kriuchykhin 2020-01-06 17:02:27 +01:00 committed by GitHub
commit 71cb4bf6f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -700,7 +700,7 @@ function bindFullZoomAjaxTabs() {
} else if (targetContents === "users") {
initUsersEditLink(parentNode);
} else if (targetContents === "comments") {
}
$this.parents("ul").parent().find(".active").removeClass("active");
@ -2286,7 +2286,7 @@ function updateFormWithModulesData(modules, connections, gridDistX, gridDistY) {
positionsVal += id + "," + x + "," + y + ";";
moduleGroupNames[id] = module.attr("data-module-group-name");
});
positionsDiv.attr("value", positionsDiv.val() + positionsVal);
positionsDiv.attr("value", positionsVal + positionsDiv.val());
if (moduleNamesDiv.val())
moduleNamesDiv.attr("value", JSON.stringify($.extend(JSON.parse(moduleNamesDiv.val()),