Merge "Keep edit summary when switching between VE and NWE"

This commit is contained in:
jenkins-bot 2016-11-02 21:09:29 +00:00 committed by Gerrit Code Review
commit f20a40d09f

View file

@ -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;
}