mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
ve.ui.MWMetaDialog: Really *ALWAYS* return to normal tracking behavior
This #getActionProcess method is kinda weird… introduced in fbdff762
.
Bug: 68901
Change-Id: I5007a379445b286884814557a85c6efea5e5d4cc
This commit is contained in:
parent
ca6816be63
commit
bcd9c56701
|
@ -124,10 +124,10 @@ ve.ui.MWMetaDialog.prototype.getActionProcess = function ( action ) {
|
|||
// Undo everything done in the dialog and prevent redoing those changes
|
||||
surfaceModel.undo();
|
||||
surfaceModel.truncateUndoStack();
|
||||
|
||||
// ALWAYS return to normal tracking behavior
|
||||
surfaceModel.startHistoryTracking();
|
||||
}
|
||||
|
||||
// ALWAYS return to normal tracking behavior
|
||||
surfaceModel.startHistoryTracking();
|
||||
}, this );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue