mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Fix opening of specific reference dialog"
This commit is contained in:
commit
e8d2a657be
|
@ -185,7 +185,7 @@ ve.ui.MWGeneralReferenceDialog.prototype.onSelectChoose = function ( item ) {
|
|||
|
||||
// Close this dialog then open the new dialog
|
||||
this.close().then( function () {
|
||||
manager.openWindow( data.windowName, $.extend( {
|
||||
manager.getSurface().execute( 'window', 'open', data.windowName, $.extend( {
|
||||
fragment: fragment
|
||||
}, data.dialogData ) );
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue