diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0f7389d7b5..6b1245c749 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-12-13 Sergio Martin + + * include/graphs/flot/pandora.flot.js: Fixed wrong + condition of minimum height of menu. + Incident #417 + 2013-12-13 Sergio Martin * include/javascript/pandora.js: Added auto scroll diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index 49507218ae..3a50fb11f8 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -1048,7 +1048,7 @@ function adjust_menu(graph_id, plot, parent_height) { var menu_height = '25'; - if($('#menu_'+graph_id).height() != undefined || $('#menu_'+graph_id).height() < 20) { + if($('#menu_'+graph_id).height() != undefined && $('#menu_'+graph_id).height() > 20) { menu_height = $('#menu_'+graph_id).height(); }