diff --git a/workflow/engine/templates/bpmn/MyWorkflow.js b/workflow/engine/templates/bpmn/MyWorkflow.js index 762238d79..f234992e2 100755 --- a/workflow/engine/templates/bpmn/MyWorkflow.js +++ b/workflow/engine/templates/bpmn/MyWorkflow.js @@ -36,7 +36,7 @@ MyWorkflow.prototype.setBoundary = function (oShape) { } //Top Border if (oShape.y < 55) { - oShape.y = 71; + oShape.y = 60; } //Bottom Border if (oShape.y > 1000 - oShape.height) { diff --git a/workflow/engine/templates/bpmn/processmap.js b/workflow/engine/templates/bpmn/processmap.js index ba292f123..0fdab7342 100755 --- a/workflow/engine/templates/bpmn/processmap.js +++ b/workflow/engine/templates/bpmn/processmap.js @@ -1,7 +1,7 @@ Ext.onReady ( function() { workflow = new MyWorkflow("paintarea"); - workflow.setEnableSmoothFigureHandling(true); + workflow.setEnableSmoothFigureHandling(false); workflow.scrollArea.width = 2000; //For Undo and Redo Options // workflow.getCommandStack().addCommandStackEventListener(new commandListener()); @@ -20,30 +20,6 @@ Ext.onReady ( function() { Ext.Msg.alert ('Failure'); } }); - - //load all the Information related to the process -// var urlparams = '?action=load&data={"uid":"'+ pro_uid +'"}'; -// Ext.Ajax.request({ -// url: "processes_Ajax.php"+ urlparams, -// success: function(response) { -// this.workflow.processInfo = Ext.util.JSON.decode(response.responseText); -// }, -// failure: function(){ -// Ext.Msg.alert ('Failure'); -// } -// }); - - //Get All the processes - // var urlparams = '?action=getProcesses'; - // Ext.Ajax.request({ - // url: "processes_Ajax.php"+ urlparams, - // success: function(response) { - // this.workflow.processName = Ext.util.JSON.decode(response.responseText); - // }, - // failure: function(){ - // Ext.Msg.alert ('Failure'); - // } - // }); } @@ -534,10 +510,6 @@ Ext.onReady ( function() { { case 'tasks': for(var k=0;k