|
|
@ -1264,8 +1264,11 @@ class DatasetControl {
|
|
|
|
conf.onAppend = items => this.onAppend(items);
|
|
|
|
conf.onAppend = items => this.onAppend(items);
|
|
|
|
conf.onModify = (props, modified, current) => {
|
|
|
|
conf.onModify = (props, modified, current) => {
|
|
|
|
let info = this.dataset.getCurrent("item");
|
|
|
|
let info = this.dataset.getCurrent("item");
|
|
|
|
|
|
|
|
if (!info) return;
|
|
|
|
|
|
|
|
/*
|
|
|
|
if (!info || "added" == info.state)
|
|
|
|
if (!info || "added" == info.state)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
*/
|
|
|
|
this.onModify(props, modified, current);
|
|
|
|
this.onModify(props, modified, current);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
conf.onReplace = obj => this.onReplace(obj);
|
|
|
|
conf.onReplace = obj => this.onReplace(obj);
|
|
|
|