Author: Lars Michelsen <[email protected]>
Date: Thu Apr 14 21:26:50 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Apr 14 21:26:50 2011 +0200
Fixed CSS width/height warnings
---
share/frontend/nagvis-js/js/lines.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/share/frontend/nagvis-js/js/lines.js
b/share/frontend/nagvis-js/js/lines.js
index 2992ee4..97a54fc 100644
--- a/share/frontend/nagvis-js/js/lines.js
+++ b/share/frontend/nagvis-js/js/lines.js
@@ -85,8 +85,8 @@ function drawPolygonBasedObject(objectId, num, xCoord,
yCoord, z, colorFill, col
oCanvas.style.position = 'absolute';
oCanvas.style.left = xMin+"px";
oCanvas.style.top = yMin+"px";
- oCanvas.width = Math.round(xMax-xMin);
- oCanvas.height = Math.round(yMax-yMin);
+ oCanvas.width = Math.round(xMax-xMin) + 'px';
+ oCanvas.height = Math.round(yMax-yMin) + 'px';
oCanvas.style.zIndex = z;
var ctx = oCanvas.getContext('2d');
@@ -154,8 +154,8 @@ function drawLinkArea(objectId, num, lx, ly, z) {
oImg.style.position = 'absolute';
oImg.style.left = (lx-10)+"px";
oImg.style.top = (ly-10)+"px";
- oImg.style.width = 20;
- oImg.style.height = 20;
+ oImg.style.width = 20 + 'px';
+ oImg.style.height = 20 + 'px';
oImg.style.zIndex = parseInt(z)+1;
if(oLinkContainer)
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins