mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
Merge "Followup 67f304a
: use .openWindow(), not .open(), to open save dialog"
This commit is contained in:
commit
bea941d213
|
@ -1227,8 +1227,8 @@ ve.init.mw.ViewPageTarget.prototype.showSaveDialog = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.saveDialog.setSanityCheck( this.sanityCheckVerified );
|
this.saveDialog.setSanityCheck( this.sanityCheckVerified );
|
||||||
this.saveDialog.open(
|
this.surface.getDialogs().openWindow(
|
||||||
this.surface.getModel().getFragment(),
|
this.saveDialog,
|
||||||
{ 'dir': this.surface.getModel().getDocument().getLang() }
|
{ 'dir': this.surface.getModel().getDocument().getLang() }
|
||||||
)
|
)
|
||||||
// Call onSaveDialogClose() when the save dialog starts closing
|
// Call onSaveDialogClose() when the save dialog starts closing
|
||||||
|
|
Loading…
Reference in a new issue