From 87b603a0cc0a310b8166d8126e84259096a7a83d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 19 Mar 2014 10:27:02 +0100 Subject: [PATCH] smartxml: cleanup --- src/smartxml/smartxml.js | 2 -- 1 file changed, 2 deletions(-) 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 = []; } } -- 2.20.1