From: Aleksander Ɓukasz Date: Wed, 19 Mar 2014 09:27:02 +0000 (+0100) Subject: smartxml: cleanup X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/87b603a0cc0a310b8166d8126e84259096a7a83d smartxml: cleanup --- diff --git a/src/smartxml/smartxml.js b/src/smartxml/smartxml.js index 505ab85..426dce0 100644 --- a/src/smartxml/smartxml.js +++ b/src/smartxml/smartxml.js @@ -498,8 +498,6 @@ $.extend(Document.prototype, Backbone.Events, { function() { if(this._transformationLevel === 1 && !this._undoInProgress) { this._currentTransaction.pushTransformation(transformation); - } - if(!this._undoInProgress && this._transformationLevel === 1) { this.redoStack = []; } }