Resolving Issues #667 and #700

In Classic theme, intial view of Tre view broken
This commit is contained in:
cigamit committed 2017-05-17 22:30:50 -05:00
1 parent 8e1539758b
commit f5006a4ec9
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -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
+3 -2
View File
@@ -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);
}