r61275 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61274‎ | r61275 | r61276 >
Date:23:01, 19 January 2010
Author:adam
Status:deferred
Tags:
Comment:
follow up changes to r61272 and r61273
Modified paths:
  • /trunk/extensions/UsabilityInitiative/css/wikiEditor.toc.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.toc.css
@@ -204,19 +204,7 @@
205205 }
206206
207207 /* Self Clearing for the wikiText view */
208 -.wikiEditor-ui-view-wikiText:after {
209 - content: ".";
210 - display: block;
211 - height: 0;
212 - clear: both;
213 - visibility: hidden;
214 -}
215208 .wikiEditor-ui-view-wikiText {
216 - display: inline-block;
217 -}
218 -* html .wikiEditor-ui-view-wikiText {
219 - height: 1%;
220 -}
221 -.wikiEditor-ui-view-wikiText {
222 - display:block;
 209+ overflow: auto;
 210+ width: 100%;
223211 }
\ No newline at end of file
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js
@@ -169,10 +169,10 @@
170170 context.$ui.find( '.sections' ).height( context.$ui.find( '.sections .section:visible' ).outerHeight() );
171171 },
172172 tocCollapse: function( context, event ) {
173 - $.wikiEditor.modules.toolbar( context, event );
 173+ $.wikiEditor.modules.toolbar.evt.resize( context, event );
174174 },
175175 tocExpand: function( context, event ) {
176 - $.wikiEditor.modules.toolbar( context, event );
 176+ $.wikiEditor.modules.toolbar.evt.resize( context, event );
177177 }
178178 },
179179 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61272Massive changes to wikiEditor.toc.js to better handling resize events.adam22:03, 19 January 2010
r61273Adding events for TOC collapsing and expanding and ensuring the toolbar resiz...adam22:33, 19 January 2010

Status & tagging log