From a7bf31816148a552664d7c7a9466238a16438067 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 27 Jul 2021 10:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=9C=8D=E5=8A=A1=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E8=8A=82=E7=82=B9=E9=BB=98=E8=AE=A4=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E4=B8=BAjaxrs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_process_Xform/Form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/o2web/source/x_component_process_Xform/Form.js b/o2web/source/x_component_process_Xform/Form.js index c449d85dee..1e16f48961 100644 --- a/o2web/source/x_component_process_Xform/Form.js +++ b/o2web/source/x_component_process_Xform/Form.js @@ -1600,10 +1600,11 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class( "work": this.businessData.work, "identity": this.businessData.work.creatorIdentityDn } + var copyData = Object.clone(data); this.workAction.saveDraft(draft, function (json) { this.businessData.originalData = null; - this.businessData.originalData = Object.clone(data); + this.businessData.originalData = copyData; this.workAction.getDraft(json.data.id, function (json) { this.businessData.work = json.data.work; -- GitLab