mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
partial for #5126 - less rows in remote demo to avoid scrolling
This commit is contained in:
parent
012ed1a194
commit
b53bf774ce
@ -632,7 +632,7 @@ foreach ($items as $key=>$value) {
|
|||||||
if (strpos(strtolower($key), $q) !== false) {
|
if (strpos(strtolower($key), $q) !== false) {
|
||||||
array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key)));
|
array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key)));
|
||||||
}
|
}
|
||||||
if (count($result) > 12)
|
if (count($result) > 11)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo array_to_json($result);
|
echo array_to_json($result);
|
||||||
|
Loading…
Reference in New Issue
Block a user