diff --git a/docs/CHANGELOG b/docs/CHANGELOG index c782dee4cb..0aa1dd34b5 100644 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -5,6 +5,7 @@ Cacti CHANGELOG -issue#653: Devices with empty sysNames are not added to discovered devices -issue#655: Data source not displaying device name -issue#658: Scheduled Reports (type "tree") not working +-issue#667: In Classic theme initial view of Tree view broken -issue#669: Invalid SQL Messages when upgrading to Cacti 1.0.5 -issue#670: Validation error when you do "Change Graph Template" in Cacti -issue#672: Cacti unable to enable snmp notification receiver mibs diff --git a/include/themes/classic/main.js b/include/themes/classic/main.js index 0f344e391c..d0baaf8bd3 100644 --- a/include/themes/classic/main.js +++ b/include/themes/classic/main.js @@ -1,7 +1,7 @@ function themeReady() { height = get_height(); $('#navigation, .cactiConsoleNavigationArea').css('height', height); - $('#navigation').show(); + $('#navigation, #navigation_right').show(); $(window).unbind().resize(function(event) { if (pageName == 'graph_view.php') { @@ -24,5 +24,6 @@ function get_height() { nrsh = parseInt($('#navigation_right').prop('scrollHeight')); nh = parseInt($('#navigation').height()); nrh = parseInt($('#navigation_right').height()); - return Math.max(nsh, nrsh, nh, nrh); + wht = $(window).height(); + return Math.max(nsh, nrsh, nh, nrh, wht); }