Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
BZ 1273955 - can't add multi instance subprocess to Designer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tihomir Surdilovic committed Oct 21, 2015
1 parent ed3a639 commit 50bdf30
Showing 1 changed file with 25 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -880,16 +880,18 @@ ORYX.Plugins.PropertyWindow = {
var csobj = childshapes[i];
if(csobj.resourceId == shapeid) {
var datainputs = csobj.properties.datainputset;
var datainParts = datainputs.split(",");
for(var j=0; j < datainParts.length; j++) {
var nextPart = datainParts[j];
if(nextPart.indexOf(":") > 0) {
var innerParts = nextPart.split(":");
options.push(["", innerParts[0], innerParts[0]]);
} else {
options.push(["", nextPart, nextPart]);
}
}
if(datainputs !== undefined) {
var datainParts = datainputs.split(",");
for(var j=0; j < datainParts.length; j++) {
var nextPart = datainParts[j];
if(nextPart.indexOf(":") > 0) {
var innerParts = nextPart.split(":");
options.push(["", innerParts[0], innerParts[0]]);
} else {
options.push(["", nextPart, nextPart]);
}
}
}
}
}
}
Expand Down Expand Up @@ -936,18 +938,20 @@ ORYX.Plugins.PropertyWindow = {
var csobj = childshapes[i];
if(csobj.resourceId == shapeid) {
var dataoutputs = csobj.properties.dataoutputset;
var dataoutParts = dataoutputs.split(",");
for(var k=0; k < dataoutParts.length; k++) {
var nextPart = dataoutParts[k];
if(nextPart.indexOf(":") > 0) {
var innerParts = nextPart.split(":");
options.push(["", innerParts[0], innerParts[0]]);
} else {
if(nextPart.length > 0) {
options.push(["", nextPart, nextPart]);
if(dataoutputs !== undefined) {
var dataoutParts = dataoutputs.split(",");
for(var k=0; k < dataoutParts.length; k++) {
var nextPart = dataoutParts[k];
if(nextPart.indexOf(":") > 0) {
var innerParts = nextPart.split(":");
options.push(["", innerParts[0], innerParts[0]]);
} else {
if(nextPart.length > 0) {
options.push(["", nextPart, nextPart]);
}
}
}
}
}
}
}
}
}
Expand Down

0 comments on commit 50bdf30

Please sign in to comment.