r63611 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63610‎ | r63611 | r63612 >
Date:19:20, 11 March 2010
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r63589 button change for non-binary case
Modified paths:
  • /trunk/extensions/FlaggedRevs/client/review.js (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/client/review.js
@@ -241,7 +241,12 @@
242242 rsubmit.disabled = '';
243243 }
244244 } else {
245 - rsubmit.value = wgAjaxReview.sendMsg; // back to normal
 245+ if( tier > 0 ) {
 246+ rsubmit.value = wgAjaxReview.flaggedMsg;
 247+ } else {
 248+ rsubmit.value = wgAjaxReview.unflaggedMsg;
 249+ }
 250+ rsubmit.style.fontWeight = 'bold';
246251 rsubmit.disabled = ''; // unlock flag button
247252 }
248253 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63589* Improved rating toggles (use + and -)...aaron09:45, 11 March 2010

Status & tagging log