Solved issue with Extjs variables part, assigning condition from system variable

This commit is contained in:
safan
2011-01-14 12:39:34 +00:00
parent 1ca4d3b71e
commit 567e0fd6b1
2 changed files with 9 additions and 4 deletions

View File

@@ -137,6 +137,7 @@ switch($_GET['action'])
case 'getAvailableCaseTrackerObjects':
$rows = $oProcessMap->getAvailableExtCaseTrackerObjects($_GET['tid']);
array_shift($rows);
break;
case 'getAvailableSteps':

View File

@@ -1878,12 +1878,16 @@ ProcessMapContext.prototype.caseTrackerObjects= function()
handler: function (s) {
var rowSelected = Objectsgrid.getSelectionModel().getSelections();
if(rowSelected == '')
workflow.gridObjectRowSelected = Objectsgrid.store.data.items;
workflow.gridObjectRowSelected = Objectsgrid;
else
workflow.gridObjectRowSelected = rowSelected;
//var rowSelected = Objectsgrid;
//workflow.gridObject = Objectsgrid;
ProcMapObj.ExtVariables();
var rowData = ProcMapObj.ExtVariables();
console.log(rowData);
//var a = Ext.getCmp('btnCondition');
//alert (a);
//console.log(rowData);
}
@@ -2155,8 +2159,8 @@ ProcessMapContext.prototype.ExtVariables = function()
//Assigned new object with condition
if(typeof getObjectGridRow.colModel != 'undefined')
sfddsfdf;
//Assigning / updating Contion for a row
getObjectGridRow.colModel.config[3].editor.setValue(rowLabel);
//Assigning / updating Condition for a row
else
getObjectGridRow[0].set("CTO_CONDITION",rowLabel);
window.hide();