BUG 14403 "The picker in variables of a..." SOLVED
- The picker in variables of a subprocess is not working. - Problema resuelto, al aplicar el selector de variables (en propiedades del sub proceso), cuando es de tipo asynchronous en Variables Out, el selector de variables en "Origin" mostrara solo las variables del proceso principal y en "Target" mostrara solo las variables del sub proceso que se selecciono y cuando es de tipo synchronous en Variables In, el selector de variables en "Origin" mostrara las variables del sub proceso que se selecciono y en "Target" mostrara las variables del proceso principal.
This commit is contained in:
committed by
Erik Amaru Ortiz
parent
c392040087
commit
f0f1609e75
@@ -95,11 +95,23 @@ var processes_subProcessSave = function(oForm) {
|
||||
|
||||
var _oVarsPanel_;
|
||||
var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) {
|
||||
if (sProcess == '') {
|
||||
var sAux = getField('PROCESSES').options[getField('TASKS').selectedIndex].value;
|
||||
var aAux = sAux.split('_');
|
||||
sProcess = aAux[0];
|
||||
var arrayMatch = [];
|
||||
var field = "";
|
||||
|
||||
if ((arrayMatch = /^.*\[(.*)\]$/.exec(sFieldName))) {
|
||||
field = arrayMatch[1];
|
||||
}
|
||||
|
||||
if (field == "VAR_OUT1" || field == "VAR_IN2") {
|
||||
sProcess = getField("PRO_PARENT").value;
|
||||
} else {
|
||||
if (sProcess == "") {
|
||||
var sAux = getField("PROCESSES").options[getField("TASKS").selectedIndex].value;
|
||||
var aAux = sAux.split("_");
|
||||
sProcess = aAux[0];
|
||||
}
|
||||
}
|
||||
|
||||
_oVarsPanel_ = new leimnud.module.panel();
|
||||
_oVarsPanel_.options = {
|
||||
limit : true,
|
||||
|
||||
Reference in New Issue
Block a user