Author: sevein
Date: Thu Jun  7 11:10:40 2012
New Revision: 11747

Log:
Set a limit of 20 results in autocomplete.js

Modified:
   trunk/js/autocomplete.js

Modified: trunk/js/autocomplete.js
==============================================================================
--- trunk/js/autocomplete.js    Thu Jun  7 11:08:53 2012        (r11746)
+++ trunk/js/autocomplete.js    Thu Jun  7 11:10:40 2012        (r11747)
@@ -164,6 +164,9 @@
 
                   var autoComplete = new YAHOO.widget.AutoComplete($input[0], 
$('<div/>').insertAfter(this)[0], dataSource);
 
+                  // Display up to 20 results in the container
+                  autoComplete.maxResultsDisplayed = 20;
+
                   // Show some items even if user types nothing,
                   // http://developer.yahoo.com/yui/autocomplete/#minquery
                   autoComplete.minQueryLength = 0;

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to