Module: nagvis
Branch: master
Commit: 86a439d05d0fadd349b961b90c03509d9afaa925
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=86a439d05d0fadd349b961b90c03509d9afaa925

Author: Lars Michelsen <[email protected]>
Date:   Wed Aug 26 23:02:14 2009 +0200

Added more debug logging to background eventhandler

---

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

diff --git a/share/nagvis/includes/js/frontend.js 
b/share/nagvis/includes/js/frontend.js
index 11425ae..986dec6 100755
--- a/share/nagvis/includes/js/frontend.js
+++ b/share/nagvis/includes/js/frontend.js
@@ -362,7 +362,10 @@ function getFaviconImage(oObj) {
  * @author     Lars Michelsen <[email protected]>
  */
 function setPageBackgroundColor(sColor) {
+       eventlog("background", "debug", "Setting backgroundcolor to " + sColor);
+       eventlog("background", "debug", "Old backgroundcolor: " + 
document.body.style.backgroundColor);
        document.body.style.backgroundColor = sColor;
+       eventlog("background", "debug", "New backgroundcolor: " + 
document.body.style.backgroundColor);
 }
 
 /**


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to