Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -51,14 +51,14 @@ |
52 | 52 | array( 'src' => 'js/plugins/jquery.cookie.js', 'version' => 3 ), |
53 | 53 | array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 3 ), |
54 | 54 | array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 3 ), |
55 | | - array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 3 ), |
| 55 | + array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 4 ), |
56 | 56 | array( 'src' => 'js/plugins/jquery.wikiEditor.toc.js', 'version' => 3 ), |
57 | 57 | ), |
58 | 58 | 'combined' => array( |
59 | | - array( 'src' => 'js/plugins.combined.js', 'version' => 3 ), |
| 59 | + array( 'src' => 'js/plugins.combined.js', 'version' => 4 ), |
60 | 60 | ), |
61 | 61 | 'minified' => array( |
62 | | - array( 'src' => 'js/plugins.combined.min.js', 'version' => 3 ), |
| 62 | + array( 'src' => 'js/plugins.combined.min.js', 'version' => 4 ), |
63 | 63 | ), |
64 | 64 | ), |
65 | 65 | ); |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -1,6 +1,8 @@ |
2 | 2 | /* JavaScript for EditToolbar extension */ |
3 | 3 | |
4 | 4 | js2AddOnloadHook( function() { |
| 5 | + // Allow user/site JS to customize editToolbarConfiguration |
| 6 | + $j( document ).trigger( 'toolbarConfig' ); |
5 | 7 | $j( 'textarea#wpTextbox1' ).wikiEditor( |
6 | 8 | { 'toolbar': editToolbarConfiguration } |
7 | 9 | ); |