r54711 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54710‎ | r54711 | r54712 >
Date:11:19, 10 August 2009
Author:catrope
Status:deferred
Tags:
Comment:
EditToolbar: Followup to r54646: add config var as parameter to event handler
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js
@@ -2,7 +2,7 @@
33
44 js2AddOnloadHook( function() {
55 // Allow user/site JS to customize editToolbarConfiguration
6 - $j( document ).trigger( 'toolbarConfig' );
 6+ $j( document ).trigger( 'toolbarConfig', [ editToolbarConfiguration ] );
77 $j( 'textarea#wpTextbox1' ).wikiEditor(
88 { 'toolbar': editToolbarConfiguration }
99 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r54646EditToolbar: Allow user/site JS, which is loaded before editToolbarConfigurat...catrope09:52, 9 August 2009

Status & tagging log