r59816 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59815‎ | r59816 | r59817 >
Date:01:25, 8 December 2009
Author:tparscal
Status:ok
Tags:
Comment:
Fixed layout bug that happened when a toolbar wrapped multiple lines, then the browser was resized wide enough that the toolbar only needed a single line but the toolbar parent container was never resized with it.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js
@@ -162,9 +162,17 @@
163163 }
164164 },
165165 /**
 166+ * Event handlers
 167+ */
 168+evt: {
 169+ resize: function( context, event ) {
 170+ context.$ui.find( '.sections' ).height( context.$ui.find( '.sections .section:visible' ).outerHeight() );
 171+ }
 172+},
 173+/**
166174 * Internally used functions
167175 */
168 -fn : {
 176+fn: {
169177 /**
170178 * Creates a toolbar module within a wikiEditor
171179 *

Follow-up revisions

RevisionCommit summaryAuthorDate
r59825UsabilityInitiative: Recombine JS and bump style versions for r59813, r59814,...catrope13:54, 8 December 2009

Status & tagging log