X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fheader.php;h=0a8609ee3ea7e82ec607c806fd7e32a8783a40be;hb=69c30ca56fdc6a4eff236902040cc04ec6eaccf2;hp=987b6c429796a5990cc2f2989c557b69bc5edfde;hpb=85bae784f30d1777db15f43d2e3ce04a2c3e8653;p=living-lab-site.git diff --git a/application/views/header.php b/application/views/header.php index 987b6c4..0a8609e 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -82,9 +82,9 @@ var fakeSubmit = function() { var searchQuery = $('#search').val(); - if (searchQuery.length < 4) + if (searchQuery.length === 0) { - alert('lang->line('error_search_query_too_short') ?>'); + alert('lang->line('error_search_query_empty') ?>'); return; }