r51567 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51566‎ | r51567 | r51568 >
Date:14:56, 7 June 2009
Author:thomasv
Status:ok
Tags:
Comment:
disable button, because display:none does not prevent it from being be accessed by keyboard
Modified paths:
  • /trunk/extensions/ProofreadPage/proofread.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread.js
@@ -874,6 +874,7 @@
875875
876876 if( ! ( ( self.proofreadpage_quality == 4 ) || ( ( self.proofreadpage_quality == 3 ) && ( self.proofreadpage_username != wgUserName ) ) ) ) {
877877 document.editform.quality[4].parentNode.style.cssText = 'display:none';
 878+ document.editform.quality[4].disabled = true;
878879 }
879880 switch( self.proofreadpage_quality ) {
880881 case 4: document.editform.quality[4].checked = true; break;

Status & tagging log