r2426 - added autocomplete to static hovers

r2426 - added autocomplete to static hovers


Author: scottjehl
Date: Wed Apr 1 13:32:10 2009
New Revision: 2426
Modified:
branches/dev/autocomplete/tests/static/static.js
Log:
added autocomplete to static hovers
Modified: branches/dev/autocomplete/tests/static/static.js
==============================================================================
--- branches/dev/autocomplete/tests/static/static.js    (original)
+++ branches/dev/autocomplete/tests/static/static.js    Wed Apr 1 13:32:10
2009
@@ -2,7 +2,7 @@
*/
$(function(){
    //add hover states on the static widgets
-    
$('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value),
a.ui-datepicker-next,
a.ui-datepicker-prev, .ui-dialog-titlebar-close').hover(
+    
$('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value),
a.ui-datepicker-next,
a.ui-datepicker-prev, .ui-dialog-titlebar-close, .ui-autocomplete-item
a').hover(
        function(){ $(this).addClass('ui-state-hover'); },
        function(){ $(this).removeClass('ui-state-hover'); }
    );