Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | |
4 | 4 | js2AddOnloadHook( function() { |
5 | 5 | // Allow user/site JS to customize editToolbarConfiguration |
6 | | - $j( document ).trigger( 'toolbarConfig' ); |
| 6 | + $j( document ).trigger( 'toolbarConfig', [ editToolbarConfiguration ] ); |
7 | 7 | $j( 'textarea#wpTextbox1' ).wikiEditor( |
8 | 8 | { 'toolbar': editToolbarConfiguration } |
9 | 9 | ); |