r2002 - trunk/ui

r2002 - trunk/ui


Author: rdworth
Date: Wed Feb 4 21:25:12 2009
New Revision: 2002
Modified:
trunk/ui/ui.slider.js
Log:
Fixed #3804 (Multiple Slider Focus Issues)
Modified: trunk/ui/ui.slider.js
==============================================================================
--- trunk/ui/ui.slider.js    (original)
+++ trunk/ui/ui.slider.js    Wed Feb 4 21:25:12 2009
@@ -77,7 +77,7 @@
        this.handles.add(this.range).filter("a")
            .click(function(event) { event.preventDefault(); })
            .hover(function() { $(this).addClass('ui-state-hover'); }, function() {
$(this).removeClass('ui-state-hover'); })
-            .focus(function() { self.handles.removeClass('ui-state-focus');
$(this).addClass('ui-state-focus'); })
+            .focus(function() {
$(".ui-slider .ui-state-focus").removeClass('ui-state-focus');
$(this).addClass('ui-state-focus'); })
            .blur(function() { $(this).removeClass('ui-state-focus'); });
        this.handles.each(function(i) {