[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 /* 2 * JavaScript for WikiEditor Toolbar 3 */ 4 jQuery( document ).ready( function ( $ ) { 5 if ( !$.wikiEditor.isSupported( $.wikiEditor.modules.toolbar ) ) { 6 $( '.wikiEditor-oldToolbar' ).show(); 7 return; 8 } 9 // The old toolbar is still in place and needs to be removed so there aren't two toolbars 10 $( '#toolbar' ).remove(); 11 // Add toolbar module 12 // TODO: Implement .wikiEditor( 'remove' ) 13 $( '#wpTextbox1' ).wikiEditor( 14 'addModule', $.wikiEditor.modules.toolbar.config.getDefaultConfig() 15 ); 16 } );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |