summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-11-01 02:23:16 (EDT)
committerSven Rottstock2012-11-01 02:23:16 (EDT)
commit0c1717a4712201ad3a09d7f8ddcbfa6386ddce03 (patch)
tree28c5a5ba605dc5a055909e7187979a86d9ddd94e
parentab8b24bb1e3b8b3e7644455fc3c8201cd32f467c (diff)
downloadorg.eclipse.stardust.ui.web-0c1717a4712201ad3a09d7f8ddcbfa6386ddce03.zip
org.eclipse.stardust.ui.web-0c1717a4712201ad3a09d7f8ddcbfa6386ddce03.tar.gz
org.eclipse.stardust.ui.web-0c1717a4712201ad3a09d7f8ddcbfa6386ddce03.tar.bz2
CRNT-26806
Added check in processCommand of m_diagram.js for undo/Redo before creating swimlane from JSON. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@60465 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js
index 141277c..9b02394 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js
@@ -681,7 +681,7 @@ define(
this.lastSymbol.refresh();
this.registerSymbol(this.lastSymbol);
this.lastSymbol = null;
- } else {
+ } else if (command.isUndo || command.isRedo) {
if (null == this.findSymbolByGuid(obj.changes.added[i].oid, command.modelId)) {
this.poolSymbol.laneSymbols.push(m_swimlaneSymbol.createSwimlaneSymbolFromJson(this, this.poolSymbol, obj.changes.added[i]));
this.poolSymbol.sortLanes();