Skip to content
Permalink
Browse files

partial for #5126 - less rows in remote demo to avoid scrolling

  • Loading branch information
jzaefferer committed Feb 20, 2010
1 parent 012ed1a commit b53bf774cef3c94d73a99fb34b979346abff29dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/autocomplete/search.php
@@ -632,7 +632,7 @@ function array_to_json( $array ){
if (strpos(strtolower($key), $q) !== false) {
array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key)));
}
if (count($result) > 12)
if (count($result) > 11)
break;
}
echo array_to_json($result);

0 comments on commit b53bf77

Please sign in to comment.
You can’t perform that action at this time.