X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/67d116b3f6f2b4a62f31433bd7b3cb85ecc0c171..620a7d196ada7e95c73418e92715076cfed39f76:/src/wlxml/extensions/metadata/metadata.js?ds=inline diff --git a/src/wlxml/extensions/metadata/metadata.js b/src/wlxml/extensions/metadata/metadata.js index acd404c..899306d 100644 --- a/src/wlxml/extensions/metadata/metadata.js +++ b/src/wlxml/extensions/metadata/metadata.js @@ -17,6 +17,9 @@ _.extend(Row.prototype, { ChangeProperty: smartxmlTransformations.createContextTransformation({ impl: function(t, rowIndex, propName, value) { var row = this.getMetadata().at(rowIndex); + if(row.getValue() === value) { + return; + } t.rowIndex = rowIndex; t.propName = propName; t.oldValue = row[propName];