Author: Lars Michelsen <[email protected]>
Date: Thu Jul 12 13:45:02 2012 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Jul 12 13:45:02 2012 +0200
Bugfix: Fixed rendering errors in IE (below version 9)
---
share/frontend/nagvis-js/js/nagvis.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/frontend/nagvis-js/js/nagvis.js
b/share/frontend/nagvis-js/js/nagvis.js
index 35a82a7..985d81b 100644
--- a/share/frontend/nagvis-js/js/nagvis.js
+++ b/share/frontend/nagvis-js/js/nagvis.js
@@ -1218,10 +1218,10 @@ function getEffectiveStyle(e, attr) {
return document.defaultView.getComputedStyle(e,
null).getPropertyValue(attr);
} else if(e.currentStyle){
// IE
- var cssR = cssR.replace(/\-(\w)/g, function (strMatch, p1){
+ var ie_attr = attr.replace(/\-(\w)/g, function (strMatch, p1){
return p1.toUpperCase();
});
- var f = e.currentStyle[cssR];
+ var f = e.currentStyle[ie_attr];
if(f.length > 0) {
return f;
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins