r90241 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90240‎ | r90241 | r90242 >
Date:22:38, 16 June 2011
Author:brion
Status:deferred
Tags:
Comment:
Fix for jQuery upgrade -- swap from .attr('disabled', null) to .removeAttr('disabled')
Modified paths:
  • /trunk/extensions/SVGEdit/modules/ext.svgedit.editor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SVGEdit/modules/ext.svgedit.editor.js
@@ -124,8 +124,8 @@
125125 .show();
126126 };
127127 var spinnerOff = function() {
128 - $('#mw-svgedit-summary').attr('disabled', null);
129 - $('#mw-svgedit-save').attr('disabled', null);
 128+ $('#mw-svgedit-summary').removeAttr('disabled');
 129+ $('#mw-svgedit-save').removeAttr('disabled');
130130 spinner.hide();
131131 };
132132

Status & tagging log