BPMN Designer: fix for none current selection in paintarea

This commit is contained in:
Erik Amaru Ortiz
2011-03-10 13:56:50 +00:00
parent 315282dddc
commit 2d2bb75ee1

View File

@@ -911,6 +911,7 @@ SelectionListener1 = function(_43b1){
SelectionListener1.prototype.type = "SelectionListener1";
SelectionListener1.prototype.onSelectionChanged = function(_43b2) {
if( this.workflow.currentSelection )
if (this.lastSelectedItem !== this.workflow.currentSelection.id ) {
if( this.workflow.currentSelection.type == 'bpmnTask' || this.workflow.currentSelection.type == 'bpmnSubProcess' ) {
this.lastSelectedItem = this.workflow.currentSelection.id;