diff --git a/src/main/webapp/resources/js/base/dataset.js b/src/main/webapp/resources/js/base/dataset.js index 856dc22..6d05214 100644 --- a/src/main/webapp/resources/js/base/dataset.js +++ b/src/main/webapp/resources/js/base/dataset.js @@ -1264,8 +1264,11 @@ class DatasetControl { conf.onAppend = items => this.onAppend(items); conf.onModify = (props, modified, current) => { let info = this.dataset.getCurrent("item"); + if (!info) return; +/* if (!info || "added" == info.state) return; +*/ this.onModify(props, modified, current); }; conf.onReplace = obj => this.onReplace(obj);