Merge "When saving from review screen, swap to main save screen"

This commit is contained in:
jenkins-bot 2015-07-30 19:13:23 +00:00 committed by Gerrit Code Review
commit 16357376d0

View file

@ -505,6 +505,7 @@ ve.ui.MWSaveDialog.prototype.getActionProcess = function ( action ) {
if ( action === 'save' ) { if ( action === 'save' ) {
return new OO.ui.Process( function () { return new OO.ui.Process( function () {
var saveDeferred = $.Deferred(); var saveDeferred = $.Deferred();
this.swapPanel( 'save' );
this.emit( 'save', saveDeferred ); this.emit( 'save', saveDeferred );
return saveDeferred.promise(); return saveDeferred.promise();
}, this ); }, this );