r56028 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56027‎ | r56028 | r56029 >
Date:13:22, 8 September 2009
Author:werdna
Status:deferred
Tags:
Comment:
LiquidThreads edit form display
* Add padding to the top of LiquidThreads edit forms.
* Don't hide edit forms with textboxes inside them.
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.css (modified) (history)
  • /trunk/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.css
@@ -462,3 +462,6 @@
463463 background-color: #eeeeee;
464464 }
465465
 466+.lqt-edit-form {
 467+ margin-top: 1em;
 468+}
Index: trunk/extensions/LiquidThreads/lqt.js
@@ -306,7 +306,14 @@
307307 newThreadLink.click( liquidThreads.handleNewLink );
308308 }
309309
310 - $j('div.lqt-edit-form').each( function() { this.style.display = 'none'; } );
 310+ $j('div.lqt-edit-form').each(
 311+ function() {
 312+ if ( this.find('#wpTextbox1').length ) {
 313+ return;
 314+ }
 315+
 316+ this.style.display = 'none';
 317+ } );
311318
312319 // Move menus into their proper location
313320 $j('div.lqt-post-wrapper').each( liquidThreads.setupMenus );

Follow-up revisions

RevisionCommit summaryAuthorDate
r56030Fix JS error in r56028werdna13:25, 8 September 2009

Status & tagging log