mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "OO.ui.WindowManager -> ve.ui.WindowManager"
This commit is contained in:
commit
adb186e454
|
@ -27,7 +27,7 @@ ve.ui.MWTemplateDialog = function VeUiMWTemplateDialog( config ) {
|
||||||
this.preventReselection = false;
|
this.preventReselection = false;
|
||||||
|
|
||||||
this.confirmOverlay = new ve.ui.Overlay( { classes: ['ve-ui-overlay-global'] } );
|
this.confirmOverlay = new ve.ui.Overlay( { classes: ['ve-ui-overlay-global'] } );
|
||||||
this.confirmDialogs = new OO.ui.WindowManager( { factory: ve.ui.windowFactory, isolate: true } );
|
this.confirmDialogs = new ve.ui.WindowManager( { factory: ve.ui.windowFactory, isolate: true } );
|
||||||
this.confirmOverlay.$element.append( this.confirmDialogs.$element );
|
this.confirmOverlay.$element.append( this.confirmDialogs.$element );
|
||||||
$( 'body' ).append( this.confirmOverlay.$element );
|
$( 'body' ).append( this.confirmOverlay.$element );
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue