From 7b7219fcb6c74fac23bec1ba5d90957b06177b6c Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Wed, 29 Jul 2015 17:47:32 +0100 Subject: [PATCH] When saving from review screen, swap to main save screen Bug: T107251 Change-Id: I78fb0b8804ffa4b8accd4d2619d7bbd34e2c4f1e --- modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js index 5b530788b7..8ce11183d4 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWSaveDialog.js @@ -505,6 +505,7 @@ ve.ui.MWSaveDialog.prototype.getActionProcess = function ( action ) { if ( action === 'save' ) { return new OO.ui.Process( function () { var saveDeferred = $.Deferred(); + this.swapPanel( 'save' ); this.emit( 'save', saveDeferred ); return saveDeferred.promise(); }, this );