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 @@
163
163
}
164
164
},
165
165
/**
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
+/**
166
174
* Internally used functions
167
175
*/
168
-fn : {
176
+fn: {
169
177
/**
170
178
* Creates a toolbar module within a wikiEditor
171
179
*
Follow-up revisions
Revision
Commit summary
Author
Date
r59825
UsabilityInitiative: Recombine JS and bump style versions for
r59813
,
r59814
,...
catrope
13:54, 8 December 2009
Status & tagging log
13:40, 8 December 2009
Catrope
(
talk
|
contribs
)
changed the
status
of r59816
[
removed:
new
added:
ok]