mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Keep edit summary when switching between VE and NWE
Bug: T144906 Change-Id: I0b979959f4b6f33167ba4a225184fda7ca13a1e8
This commit is contained in:
parent
7bc59cd65c
commit
1384df41c8
|
@ -1589,6 +1589,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