mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Keep edit summary when switching between VE and NWE"
This commit is contained in:
commit
f20a40d09f
|
@ -1585,6 +1585,7 @@ ve.init.mw.ArticleTarget.prototype.setupToolbar = function () {
|
|||
this.attachToolbarSaveButton();
|
||||
|
||||
if ( this.saveDialog ) {
|
||||
this.initialEditSummary = this.saveDialog.editSummaryInput.getValue();
|
||||
this.saveDialog.disconnect( this );
|
||||
this.saveDialog = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue