From e10929d4ffb1b009fa112e3a85000da2a2bced62 Mon Sep 17 00:00:00 2001 From: KirillovIlya Date: Mon, 21 Nov 2022 17:07:19 +0300 Subject: [PATCH] [oform] Fix field group class inheritance --- oform/FieldGroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oform/FieldGroup.js b/oform/FieldGroup.js index 9d137b4..cf91c99 100644 --- a/oform/FieldGroup.js +++ b/oform/FieldGroup.js @@ -44,7 +44,7 @@ this.Weight = null; this.Fields = []; } - AscFormat.InitClass(CUser, AscFormat.CBaseFormatObject, AscDFH.historyitem_type_OForm_FieldGroup); + AscFormat.InitClass(CFieldGroup, AscFormat.CBaseFormatObject, AscDFH.historyitem_type_OForm_FieldGroup); CFieldGroup.prototype.setWeight = function(value) { if (this.Weight === value)