X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9da83a0cb059fa87e0e443b8518f258241fb0eb6..87b603a0cc0a310b8166d8126e84259096a7a83d:/src/smartxml/smartxml.js 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 = []; } }