r95032 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95031‎ | r95032 | r95033 >
Date:19:22, 19 August 2011
Author:salvatoreingala
Status:ok
Tags:
Comment:
Making dialog buttons native-style.
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
@@ -186,6 +186,11 @@
187187 width: 550,
188188 resizable: false,
189189 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+ },
190195 close: function() {
191196 $( this ).remove();
192197 },

Status & tagging log