r95400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:< r95399‎ | r95400 | r95401 >
Date:14:37, 24 August 2011
Author:salvatoreingala
Status:deferred
Tags:
Comment:
Added workaround for a jquery UI bug that prevents sliders to lose focus with the TAB key in modal dialogs.
Modified paths:
  • /branches/salvatoreingala/Gadgets/ui/resources/ext.gadgets.preferences.js (modified) (history)

Diff [purge]

Index: branches/salvatoreingala/Gadgets/ui/resources/ext.gadgets.preferences.js
——@@ -205,6 +205,10 @@
206206 .unbind( 'mouseover' )
207207 .unbind( 'mousedown' )
208208 .unbind( 'focus' );
 209+
 210+ //Workaround for jQuery UI bug #7051, http://bugs.jqueryui.com/ticket/7051
 211+ var zIndex = $( this ).zIndex() + 1;
 212+ $( this ).find( '.ui-slider-handle' ).css( 'z-index', zIndex );
209213 },
210214 close: function() {
211215 $( this ).remove();

Status & tagging log