Author: Lars Michelsen <[email protected]>
Date: Sat Feb 19 19:04:53 2011 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Sat Feb 19 18:23:07 2011 +0000
Fixed usage of event_log_height parameter on page loading
---
share/frontend/nagvis-js/js/frontendEventlog.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/share/frontend/nagvis-js/js/frontendEventlog.js
b/share/frontend/nagvis-js/js/frontendEventlog.js
index 3c3be30..5c5e0c8 100644
--- a/share/frontend/nagvis-js/js/frontendEventlog.js
+++ b/share/frontend/nagvis-js/js/frontendEventlog.js
@@ -63,9 +63,11 @@ function eventlogInitialize() {
oEventlog = document.createElement('div');
oEventlog.setAttribute("id","eventlog");
oEventlog.style.overflow = 'auto';
+ oEventlog.style.height = oPageProperties.event_log_height+'px';
var oEventlogControl = document.createElement('div');
oEventlogControl.setAttribute("id","eventlogControl");
+ oEventlogControl.style.bottom =
(parseInt(oPageProperties.event_log_height, 10)+5)+'px';
oEventlogControl.appendChild(document.createTextNode('_'));
oEventlogControl.onmouseover = function() {
document.body.style.cursor='pointer';
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins