mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Move append to after list builder"
This commit is contained in:
commit
6688867c49
|
@ -91,13 +91,6 @@ ve.ui.MWGeneralReferenceDialog.prototype.initialize = function ( data ) {
|
||||||
} );
|
} );
|
||||||
refBaseButtonsFieldset.$element.append( refBasic.$element, this.refExisting.$element );
|
refBaseButtonsFieldset.$element.append( refBasic.$element, this.refExisting.$element );
|
||||||
|
|
||||||
// Assemble the panel
|
|
||||||
this.panel.$element.append(
|
|
||||||
topLabel.$element,
|
|
||||||
refButtonsFieldset.$element,
|
|
||||||
refBaseButtonsFieldset.$element
|
|
||||||
);
|
|
||||||
|
|
||||||
// Attach cite dialog tools
|
// Attach cite dialog tools
|
||||||
try {
|
try {
|
||||||
// Must use mw.message to avoid JSON being parsed as Wikitext
|
// Must use mw.message to avoid JSON being parsed as Wikitext
|
||||||
|
@ -126,6 +119,13 @@ ve.ui.MWGeneralReferenceDialog.prototype.initialize = function ( data ) {
|
||||||
refBasic.connect( this, { click: [ 'onDialogButtonClick', 'reference' ] } );
|
refBasic.connect( this, { click: [ 'onDialogButtonClick', 'reference' ] } );
|
||||||
this.refExisting.connect( this, { click: [ 'onDialogButtonClick', 'reference', { useExisting: true } ] } );
|
this.refExisting.connect( this, { click: [ 'onDialogButtonClick', 'reference', { useExisting: true } ] } );
|
||||||
|
|
||||||
|
// Assemble the panel
|
||||||
|
this.panel.$element.append(
|
||||||
|
topLabel.$element,
|
||||||
|
refButtonsFieldset.$element,
|
||||||
|
refBaseButtonsFieldset.$element
|
||||||
|
);
|
||||||
|
|
||||||
this.$body
|
this.$body
|
||||||
.addClass( 've-ui-mwGeneralReferenceDialog' )
|
.addClass( 've-ui-mwGeneralReferenceDialog' )
|
||||||
.append( this.panel.$element );
|
.append( this.panel.$element );
|
||||||
|
|
Loading…
Reference in a new issue