r112959 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112958‎ | r112959 | r112960 >
Date:19:27, 3 March 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
apply fix in r112886 to beta_

otherwise toggling is broken
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/beta_application.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_application.js
@@ -26,6 +26,11 @@
2727 btn.style.display = visible ? 'inline-block' : 'none';
2828 return btn;
2929 }
 30+ if(!sectionHeadings) {
 31+ sectionHeadings = [];
 32+ } else {
 33+ utilities( document.body ).addClass( 'togglingEnabled' );
 34+ }
3035 for( i = 0; i < sectionHeadings.length; i++ ) {
3136 heading = sectionHeadings[i];
3237 heading.insertBefore( createButton( true ), heading.firstChild );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112886make sure toggling is enabled...jdlrobson13:16, 2 March 2012

Status & tagging log