X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/4468d51bdcf250b3688440376c2dba985124c4c5..2e14f0181735b7acd0da023eb4c9524b75a45b56:/src/smartxml/transformations.js?ds=inline diff --git a/src/smartxml/transformations.js b/src/smartxml/transformations.js index a2a9f48..4a8e5a8 100644 --- a/src/smartxml/transformations.js +++ b/src/smartxml/transformations.js @@ -79,6 +79,7 @@ toret.createGenericTransformation = function(desc, name) { undo: function() { if(desc.undo) { desc.undo.call(this.context, this); + this.runCount++; } else { this.document.getNodeByPath(this.changeRootPath).replaceWith(this.snapshot); }