mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +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' ) {
|
||||
return new OO.ui.Process( function () {
|
||||
var saveDeferred = $.Deferred();
|
||||
this.swapPanel( 'save' );
|
||||
this.emit( 'save', saveDeferred );
|
||||
return saveDeferred.promise();
|
||||
}, this );
|
||||
|
|
Loading…
Reference in a new issue