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:
Bartosz Dziewoński 2014-07-31 09:30:00 +02:00
parent ca6816be63
commit bcd9c56701

View file

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