mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Merge "When saving from review screen, swap to main save screen"
This commit is contained in:
commit
16357376d0
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue