diff --git a/workflow/engine/templates/bpmn/MyWorkflow.js b/workflow/engine/templates/bpmn/MyWorkflow.js index d35a62786..02c6d16a8 100755 --- a/workflow/engine/templates/bpmn/MyWorkflow.js +++ b/workflow/engine/templates/bpmn/MyWorkflow.js @@ -1789,8 +1789,7 @@ MyWorkflow.prototype.showEventResult = function(btn){ MyWorkflow.prototype.deleteEvent = function(eventObj){ var event_uid = eventObj.id; - if(event_uid != '') - { + if(event_uid != '') { var urlparams = '?action=deleteEvent&data={"uid":"'+ event_uid +'"}'; Ext.Ajax.request({ url: "processes_Ajax.php"+ urlparams, @@ -1800,7 +1799,7 @@ MyWorkflow.prototype.deleteEvent = function(eventObj){ Ext.Msg.alert ('Failure'); } }); - } + } } MyWorkflow.prototype.getDeleteCriteria = function() @@ -1821,7 +1820,6 @@ MyWorkflow.prototype.getDeleteCriteria = function() } else if(shape.match(/Event/) && shape.match(/End/)){ workflow.currentSelection.actiontype = 'deleteEndEvent'; - } else if(shape.match(/Event/) && shape.match(/Inter/)){ workflow.currentSelection.actiontype = 'deleteInterEvent'; @@ -1855,8 +1853,10 @@ MyWorkflow.prototype.zoom = function(sType) for(f = 0;f