Author:   Lars Michelsen <[email protected]>
Date:     Wed Aug 17 10:29:58 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Wed Aug 17 10:29:58 2011 +0200

Bugfix: Fixed initial positioning of relative positioned gadgets

---

 share/frontend/nagvis-js/js/NagVisService.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/frontend/nagvis-js/js/NagVisService.js 
b/share/frontend/nagvis-js/js/NagVisService.js
index bff12cb..1662ce2 100644
--- a/share/frontend/nagvis-js/js/NagVisService.js
+++ b/share/frontend/nagvis-js/js/NagVisService.js
@@ -84,8 +84,8 @@ var NagVisService = NagVisStatefulObject.extend({
         oIconDiv.setAttribute('class', 'icon');
         oIconDiv.setAttribute('className', 'icon');
         oIconDiv.style.position = 'absolute';
-        oIconDiv.style.top      = this.conf.y + 'px';
-        oIconDiv.style.left     = this.conf.x + 'px';
+        oIconDiv.style.top      = this.parseCoord(this.conf.y, 'y') + 'px';
+        oIconDiv.style.left     = this.parseCoord(this.conf.x, 'x') + 'px';
         oIconDiv.style.zIndex   = this.conf.z;
 
         // Parse link only when set
@@ -105,4 +105,4 @@ var NagVisService = NagVisStatefulObject.extend({
 
         return oIconDiv;
     }
-});
\ No newline at end of file
+});


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to