summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-10-12 01:11:10 (EDT)
committerManik Kishore2012-10-12 01:11:10 (EDT)
commitdbf14823cf97641b69dcbd8020ac2fac8be52ee4 (patch)
tree1562f38788edeca2fbec783502b702232f14fe49
parent07d70e16b7619a6d31c5c3f1591e4fb9d856a985 (diff)
downloadorg.eclipse.stardust.ui.web-dbf14823cf97641b69dcbd8020ac2fac8be52ee4.zip
org.eclipse.stardust.ui.web-dbf14823cf97641b69dcbd8020ac2fac8be52ee4.tar.gz
org.eclipse.stardust.ui.web-dbf14823cf97641b69dcbd8020ac2fac8be52ee4.tar.bz2
CRNT-26452
Added check if any lane is minimized , update child symbols. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@59964 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js
index 3272d6d..c1610f2 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js
@@ -480,8 +480,10 @@ define(
*
*/
PoolSymbol.prototype.refreshDiagram = function() {
+ var laneMinimized = false;
for ( var n in this.laneSymbols) {
if (this.laneSymbols[n].symbolXOffset) {
+ laneMinimized = true;
this.laneSymbols[n].x = this.laneSymbols[n].serverSideCoordinates.x;
for ( var m in this.laneSymbols[n].containedSymbols) {
this.laneSymbols[n].containedSymbols[m].x = this.laneSymbols[n].containedSymbols[m].serverSideCoordinates.x;
@@ -489,7 +491,9 @@ define(
}
}
}
- this.adjustChildSymbols();
+ if(laneMinimized){
+ this.adjustChildSymbols();
+ }
};
/**