Merge "Followup 67f304a: use .openWindow(), not .open(), to open save dialog"

This commit is contained in:
jenkins-bot 2014-08-21 19:06:16 +00:00 committed by Gerrit Code Review
commit bea941d213

View file

@ -1227,8 +1227,8 @@ ve.init.mw.ViewPageTarget.prototype.showSaveDialog = function () {
}
this.saveDialog.setSanityCheck( this.sanityCheckVerified );
this.saveDialog.open(
this.surface.getModel().getFragment(),
this.surface.getDialogs().openWindow(
this.saveDialog,
{ 'dir': this.surface.getModel().getDocument().getLang() }
)
// Call onSaveDialogClose() when the save dialog starts closing