From f5998b4e282597a81883aa14ea207d2097144199 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 9 Jul 2024 06:33:50 +0900 Subject: [PATCH] =?UTF-8?q?DatasetControl.onModify=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/js/base/dataset.js | 3 +++ 1 file changed, 3 insertions(+) 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);