Author: david
Date: Wed Jun 20 13:51:04 2012
New Revision: 11783
Log:
Merge qubit trunk r11782 "Yet another fix for issue 2348"
Modified:
branches/ica-atom/ (props changed)
branches/ica-atom/apps/qubit/modules/actor/actions/contextMenuComponent.class.php
(props changed)
branches/ica-atom/favicon.ico (props changed)
branches/ica-atom/images/logo.png (props changed)
branches/ica-atom/js/autocomplete.js
branches/ica-atom/plugins/qbAclPlugin/lib/vendor/Zend/ (props changed)
branches/ica-atom/plugins/sfDrupalPlugin/vendor/drupal/ (props changed)
branches/ica-atom/vendor/symfony/ (props changed)
branches/ica-atom/vendor/symfony/lib/task/i18n/sfI18nExtractPluginTask.class.php
(props changed)
branches/ica-atom/vendor/yui/ (props changed)
Modified: branches/ica-atom/js/autocomplete.js
==============================================================================
--- branches/ica-atom/js/autocomplete.js Wed Jun 20 12:17:07 2012
(r11782)
+++ branches/ica-atom/js/autocomplete.js Wed Jun 20 13:51:04 2012
(r11783)
@@ -125,9 +125,9 @@
// items
var dataSource = new YAHOO.util.LocalDataSource();
- // See http://bugs.jquery.com/ticket/11872
- // :enabled was broken in Chrome but it does now
- $('option:enabled', this).each(function ()
+ // :enabled removed, it is broken in Chrome, see issue 2348
+ // See also http://bugs.jquery.com/ticket/11872
+ $('option', this).each(function ()
{
if ($(this).val())
{
@@ -165,6 +165,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.