Author:   Lars Michelsen <[email protected]>
Date:     Sun Apr 17 12:00:36 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sun Apr 17 12:00:36 2011 +0200

Fixed parsing of relative coords for textboxes

---

 share/frontend/nagvis-js/js/NagVisTextbox.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/frontend/nagvis-js/js/NagVisTextbox.js 
b/share/frontend/nagvis-js/js/NagVisTextbox.js
index 20a27d7..26b5f4c 100644
--- a/share/frontend/nagvis-js/js/NagVisTextbox.js
+++ b/share/frontend/nagvis-js/js/NagVisTextbox.js
@@ -84,7 +84,7 @@ var NagVisTextbox = NagVisStatelessObject.extend({
        parseTextbox: function () {
                return drawNagVisTextbox(this.conf.object_id+'-label', 'box',
                                            this.conf.background_color, 
this.conf.border_color,
-                                           this.conf.x, this.conf.y, 
this.conf.z, this.conf.w,
+                                           this.parseCoord(this.conf.x, 'x'), 
this.parseCoord(this.conf.y, 'y'), this.conf.z, this.conf.w,
                                            this.conf.h, this.conf.text, 
this.conf.style);
        },
 


------------------------------------------------------------------------------
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

Reply via email to