diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index 8c3e2668d..ca4563f56 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -942,10 +942,7 @@ EOF // Render the text of the global search form $sText = htmlentities(utils::ReadParam('text', '', false, 'raw_data'), ENT_QUOTES, 'UTF-8'); $sOnClick = " onclick=\"if ($('#global-search-input').val() != '') { $('#global-search form').submit(); } \""; - $sDefaultPlaceHolder = ''; - if (empty($sText)) { - $sDefaultPlaceHolder = Dict::S("UI:YourSearch"); - } + $sDefaultPlaceHolder = Dict::S("UI:YourSearch"); if ($this->IsPrintableVersion()) { $sHtml .= ' ';