Index: branches/salvatoreingala/Gadgets/ui/resources/ext.gadgets.preferences.js |
— | — | @@ -186,6 +186,11 @@ |
187 | 187 | width: 550, |
188 | 188 | resizable: false, |
189 | 189 | title: mw.msg( 'gadgets-configuration-of', gadget ), |
| 190 | + create: function() { |
| 191 | + //Remove styles to dialog buttons |
| 192 | + $( this ).dialog( 'widget' ).find( '.ui-button' ) |
| 193 | + .removeClass().unbind( 'mouseover' ).unbind( 'mousedown' ); |
| 194 | + }, |
190 | 195 | close: function() { |
191 | 196 | $( this ).remove(); |
192 | 197 | }, |