Author:   Lars Michelsen <[email protected]>
Date:     Tue Oct 16 16:55:24 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Tue Oct 16 16:55:24 2012 +0200

Bugfix: Fixed bandwidth calculations for bandwidth weathermap lines

---

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

diff --git a/ChangeLog b/ChangeLog
index 3de2c90..4342ce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@ Core:
 Frontend:
   * Bugfix: Fixed broken rotation links on overview page
   * Bugfix: Zoom code: Catching not handleable font-size declarations
+  * Bugfix: Fixed bandwidth calculations for bandwidth weathermap lines
 
 Installer:
   * Check wether or not rsync is installed (terminating if not)
diff --git a/share/frontend/nagvis-js/js/NagVisStatefulObject.js 
b/share/frontend/nagvis-js/js/NagVisStatefulObject.js
index c85855d..0d562b0 100644
--- a/share/frontend/nagvis-js/js/NagVisStatefulObject.js
+++ b/share/frontend/nagvis-js/js/NagVisStatefulObject.js
@@ -498,7 +498,7 @@ var NagVisStatefulObject = NagVisObject.extend({
         }
 
         // Adjust fill color based on perfdata for weathermap lines
-        if(this.conf.line_type == 13 || this.conf.line_type == 14) {
+        if(this.conf.line_type == 13 || this.conf.line_type == 14 || 
this.conf.line_type == 15) {
             colorFill  = '#000000';
             colorFill2 = '#000000';
 


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to