summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-10-03 03:34:31 (EDT)
committerManik Kishore2012-10-03 03:34:31 (EDT)
commit8a7ae6ce98080df8aecf58fdab49a3894d9208ba (patch)
treee490b87705dc0ea2d24ab883bd4420984ba58863
parent184fb7e20860f614174cd9feb4a620a5d98bd6f5 (diff)
downloadorg.eclipse.stardust.ui.web-8a7ae6ce98080df8aecf58fdab49a3894d9208ba.zip
org.eclipse.stardust.ui.web-8a7ae6ce98080df8aecf58fdab49a3894d9208ba.tar.gz
org.eclipse.stardust.ui.web-8a7ae6ce98080df8aecf58fdab49a3894d9208ba.tar.bz2
CRNT-26424
Added return false,when dataValidation fails in validateCreateConnection in m_connection.js git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@59736 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js
index a4b4636..4e62341 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js
@@ -1787,6 +1787,7 @@ define(
&& (toAnchorPoint.symbol.type == m_constants.DATA_SYMBOL)) {
m_messageDisplay
.showErrorMessage("Data symbols can connect to activity only.");
+ return false;
} else if (!fromAnchorPoint.symbol
.validateCreateConnection()) {
m_messageDisplay
@@ -1803,6 +1804,7 @@ define(
.validateCreateConnection()) {
m_messageDisplay
.showErrorMessage("No further OUT Connection allowed from this activity.");
+ return false;
}
} else if (!fromAnchorPoint.symbol
.validateCreateConnection(this)) {