Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-10-18 17:45:06 -0400
committerChristopher Frost2012-10-18 17:45:06 -0400
commit281ebd05a235c34fa27e9ba7f1430d567d8a862b (patch)
tree26f29c6e2616e074ba59b345cb7a183c0a8ccbcf
parent6772e3a093b2eaed369f7b704e41e91c73e8b386 (diff)
downloadorg.eclipse.virgo.kernel-281ebd05a235c34fa27e9ba7f1430d567d8a862b.tar.gz
org.eclipse.virgo.kernel-281ebd05a235c34fa27e9ba7f1430d567d8a862b.tar.xz
org.eclipse.virgo.kernel-281ebd05a235c34fa27e9ba7f1430d567d8a862b.zip
Fixing the display of service infoBoxes when more than one service is present
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/bundlesGui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/bundlesGui.js b/org.eclipse.virgo.management.console/src/main/webapp/js/bundlesGui.js
index 21357c4e..4d6fa0f3 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/bundlesGui.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/bundlesGui.js
@@ -304,7 +304,7 @@ var Bundle = function(paper, rawBundle, x, y, dblClickCallback, position, type,
};
self.moveHorizontaly = function(horizontalAdjustment){
- self.x = self.x + horizontalAdjustment;
+ self.x = self.x + (horizontalAdjustment - self.bundleMargin);
self.text.attr({
'x' : self.x + self.bundleMargin,
});
@@ -455,7 +455,7 @@ var Relationship = function(paper, type, fromBundle, toBundle) {
for ( var i = 1; i < self.infoBoxData.length; i++) {
self.infoBox.addContent(self.getInfoBoxWithWireContent(self.infoBoxData[i]));
}
- } else if(type == 'services'){
+ } else if(self.type == 'services'){
self.infoBox = self.getInfoBoxWithService(self.infoBoxData[0]);
for ( var i = 1; i < self.infoBoxData.length; i++) {
self.infoBox.addContent(self.getInfoBoxWithServiceContent(self.infoBoxData[i].service, self.infoBoxData[i].consumerId));

Back to the top