r60398 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60397‎ | r60398 | r60399 >
Date:19:39, 25 December 2009
Author:aaron
Status:ok
Tags:
Comment:
Fixed stupid mistake from r60396
Modified paths:
  • /trunk/extensions/FlaggedRevs/client/review.js (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/client/review.js
@@ -20,7 +20,7 @@
2121 for( tag in wgFlaggedRevsParams.tags ) {
2222 var controlName = "wp" + tag;
2323 var levels = document.getElementsByName(controlName);
24 - if( !levels.size ) continue;
 24+ if( !levels.length ) continue;
2525 var selectedlevel = 0; // default
2626
2727 if( levels[0].nodeName == 'SELECT' ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60396* Use review/unreview button for binary flagging case...aaron18:56, 25 December 2009

Status & tagging log