summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-08-30 08:02:31 (EDT)
committerStephan Born2012-08-30 08:02:31 (EDT)
commitf83f2e711d48016a0461de069c5bd1601d786f09 (patch)
tree7d1334d68de8dd12cd5c9c234f3b7f004065c7bb
parent74114e1e2d0d2be592a05947ebb8d9576c93aa56 (diff)
downloadorg.eclipse.stardust.ui.web-f83f2e711d48016a0461de069c5bd1601d786f09.zip
org.eclipse.stardust.ui.web-f83f2e711d48016a0461de069c5bd1601d786f09.tar.gz
org.eclipse.stardust.ui.web-f83f2e711d48016a0461de069c5bd1601d786f09.tar.bz2
CRNT-25577
Added check if lane is minimized do not allow to create symbols. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58813 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js
index fc1f7ec..ade6875 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js
@@ -224,7 +224,9 @@ define(
*/
Symbol.prototype.complete = function(sync) {
this.completeNoTransfer(this);
- this.createAndSubmitCreateCommand(sync);
+ if(this.isCompleted()){
+ this.createAndSubmitCreateCommand(sync);
+ }
if (this.requiresParentSymbol()) {
// TODO Needs to be called on create, otherwise it may