MediaWiki:RefToolbar.js: Difference between revisions
Content deleted Content added
Move initializeRefTools to a default gadget (step 3) |
removed incompatible space after Cite template insertion as per MediaWiki talk:RefToolbar.js#Insertion of blank / wikEd_compatibility |
||
Line 96:
buttons: {
'cite-form-submit': function() {
var ref = CiteTB.getRef(false, true);
$(this).dialog( 'close' );
Line 107 ⟶ 101:
type: 'encapsulate',
options: {
}
}, $(this) );
Line 243 ⟶ 237:
return;
}
$(this).dialog( 'close' );
$.wikiEditor.modules.toolbar.fn.doAction( $(this).data( 'context' ), {
type: 'encapsulate',
options: {
}
}, $(this) );
|