mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-14 19:31:55 +00:00
Merge "Preload modules of the file upload dialog"
This commit is contained in:
commit
792ef7c8ed
|
@ -560,6 +560,13 @@
|
|||
return mw.msg( $( this ).attr( 'rel' ) );
|
||||
} )
|
||||
.removeAttr( 'rel' );
|
||||
|
||||
// Preload modules of file upload dialog.
|
||||
mw.loader.load( [
|
||||
'mediawiki.ForeignStructuredUpload.BookletLayout',
|
||||
'mediawiki.Upload.Dialog',
|
||||
'oojs-ui-windows'
|
||||
] );
|
||||
},
|
||||
dialog: {
|
||||
resizable: false,
|
||||
|
|
Loading…
Reference in a new issue