diff --git a/pandora_console/include/class/OrderInterpreter.class.php b/pandora_console/include/class/OrderInterpreter.class.php index 0936c40d86..36d7e950a7 100644 --- a/pandora_console/include/class/OrderInterpreter.class.php +++ b/pandora_console/include/class/OrderInterpreter.class.php @@ -426,12 +426,12 @@ class OrderInterpreter extends Wizard echo $this->loadJS(); echo ''; if ($iterator > 10) { - echo '
+ echo '
+ '.$more_results.' '.__('results found').'
'; } if ($iterator === 0) { - echo ''.__('Press enter to search').''; + echo ''.__('Press enter to search').''; } echo '
'; diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index c12f8b9147..338bdf2c8f 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -2738,6 +2738,11 @@ function menuTabsShowHide() { } function resizeSearchHeader() { - $(".show_result_interpreter").width($("#keywords").outerWidth() - 12); - $(".show_result_interpreter").css("left", $("#keywords").position().left + 2); + if ($(".show_result_interpreter").width() && $("#keywords").position()) { + $(".show_result_interpreter").width($("#keywords").outerWidth() - 12); + $(".show_result_interpreter").css( + "left", + $("#keywords").position().left + 2 + ); + } } diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index dddbbf077e..90d3e23ba8 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -759,7 +759,6 @@ div#main_pure { margin-top: 30px; margin-left: 10px; margin-right: 10px; - height: 1000px; width: 98%; position: static; }