| author | Sidharth Singh | 2012-11-28 08:34:08 (EST) |
|---|---|---|
| committer | Stephan Born | 2012-11-28 08:34:08 (EST) |
| commit | 7c0c5ffe616ff412cd065d5deb7f1d37d158982b (patch) (side-by-side diff) | |
| tree | 34460ce1f966e9c9c2fbc51969a17b2c88987371 | |
| parent | bc8c6b5cbd55aab763a07b307a1fcd84daa0a71a (diff) | |
| download | org.eclipse.stardust.ui.web-7c0c5ffe616ff412cd065d5deb7f1d37d158982b.zip org.eclipse.stardust.ui.web-7c0c5ffe616ff412cd065d5deb7f1d37d158982b.tar.gz org.eclipse.stardust.ui.web-7c0c5ffe616ff412cd065d5deb7f1d37d158982b.tar.bz2 | |
CRNT-26663
Added a fix for connection should not be removed from fromSymbol on hoverOut in connection mode
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@61215 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
| -rw-r--r-- | web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js | 7 |
1 files changed, 5 insertions, 2 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 50c0a42..fe3f65e 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 @@ -1328,8 +1328,11 @@ define( if (this.diagram.isInConnectionMode()) {
if (null != this.diagram.currentConnection
&& this.diagram.currentConnection.isPrepared()) {
- m_utils.removeItemFromArray(
- this.connections, this.diagram.currentConnection);
+ if(this.diagram.currentConnection.fromAnchorPoint.symbol.oid != this.oid){
+ m_utils.removeItemFromArray(
+ this.connections, this.diagram.currentConnection);
+ }
+
this.diagram.currentConnection
.setDummySecondAnchorPoint();
}
|

