From 2537e06a241b1e578ab2ce825417fc82a29df54c Mon Sep 17 00:00:00 2001 From: Albert Gasset Date: Wed, 17 Oct 2018 14:33:08 +0200 Subject: [PATCH] MOBILE-2693 data: Fix updating entries with changed files --- src/addon/mod/data/pages/edit/edit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addon/mod/data/pages/edit/edit.ts b/src/addon/mod/data/pages/edit/edit.ts index 270caa0dc..c311a7137 100644 --- a/src/addon/mod/data/pages/edit/edit.ts +++ b/src/addon/mod/data/pages/edit/edit.ts @@ -303,7 +303,7 @@ export class AddonModDataEditPage { this.jsData = { fields: this.fields, - contents: this.entry.contents, + contents: this.utils.clone(this.entry.contents), form: this.editForm, data: this.data, errors: this.errors