From fd31946f4e118052dbdc3704b16ad4fc19c48d32 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 22 Jan 2020 11:50:58 +0100 Subject: [PATCH] Fix error method generateAttributeSet does not exist --- api/js/etemplate/et2_core_widget.js | 2 +- api/js/etemplate/et2_core_widget.js.map | 2 +- api/js/etemplate/et2_core_widget.ts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/api/js/etemplate/et2_core_widget.js b/api/js/etemplate/et2_core_widget.js index 517a09e819..12219456af 100644 --- a/api/js/etemplate/et2_core_widget.js +++ b/api/js/etemplate/et2_core_widget.js @@ -96,7 +96,7 @@ function et2_createWidget(_name, _attrs, _parent) { constructor = et2_registry[nodeName + "_ro"]; } // Do an sanity check for the attributes - constructor.prototype.generateAttributeSet(_attrs); + et2_core_inheritance_1.ClassWithAttributes.generateAttributeSet(et2_attribute_registry[constructor.name], _attrs); // Create the new widget and return it return new constructor(_parent, _attrs); } diff --git a/api/js/etemplate/et2_core_widget.js.map b/api/js/etemplate/et2_core_widget.js.map index c7ed3894e4..9d42e6467f 100644 --- a/api/js/etemplate/et2_core_widget.js.map +++ b/api/js/etemplate/et2_core_widget.js.map @@ -1 +1 @@ -{"version":3,"file":"et2_core_widget.js","sourceRoot":"","sources":["et2_core_widget.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;;;;;;;;;;;;;AAEH;;;;;;EAME;AAEF,+DAA6D;AAE7D;;;GAGG;AACH,IAAI,YAAY,GAAG,EAAE,CAAC;AACtB,IAAI,sBAAsB,GAAG,EAAE,CAAC;AAGhC;;;;;;GAMG;AACH,SAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM;IAEvD,YAAY,CAAC;IAEb,sBAAsB,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,0CAAmB,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;IAC9F,kDAAkD;IAClD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,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AAgB;YACxB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,mDAAmD;SAClE;QAED;;;WAGG;QACH,MAAM,EAAE;YACP,QAAQ,EAAE,IAAI;SACd;QAED;;;WAGG;QACH,MAAM,EAAE;YACP,MAAM,EAAE,aAAa;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,6BAA6B;SAC5C;QAED;;;WAGG;QACH,UAAU,EAAE;YACX,QAAQ,EAAE,IAAI;SACd;QAED;;WAEG;QACH,UAAU,EAAE;YACX,MAAM,EAAE,mBAAmB;YAC3B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,6BAA6B;SAC5C;KACD,CAAC;IAu2BH,iBAAC;CAAA,AA35BD,CAAgC,0CAAmB,GA25BlD;AA35BY,gCAAU"} \ No newline at end of file +{"version":3,"file":"et2_core_widget.js","sourceRoot":"","sources":["et2_core_widget.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;;;;;;;;;;;;;AAEH;;;;;;EAME;AAEF,+DAA6D;AAE7D;;;GAGG;AACH,IAAI,YAAY,GAAG,EAAE,CAAC;AACtB,IAAI,sBAAsB,GAAG,EAAE,CAAC;AAGhC;;;;;;GAMG;AACH,SAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM;IAEvD,YAAY,CAAC;IAEb,sBAAsB,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,0CAAmB,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;IAC9F,kDAAkD;IAClD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EACtC;QACC,IAAI,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QAEnC,oEAAoE;QACpE,SAAS;QACT,IAAI,YAAY,CAAC,IAAI,CAAC,EACtB;YACC,GAAG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;;WAGG;QACH,MAAM,EAAE;YACP,MAAM,EAAE,aAAa;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,6BAA6B;SAC5C;QAED;;;WAGG;QACH,UAAU,EAAE;YACX,QAAQ,EAAE,IAAI;SACd;QAED;;WAEG;QACH,UAAU,EAAE;YACX,MAAM,EAAE,mBAAmB;YAC3B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,6BAA6B;SAC5C;KACD,CAAC;IAu2BH,iBAAC;CAAA,AA35BD,CAAgC,0CAAmB,GA25BlD;AA35BY,gCAAU"} \ No newline at end of file diff --git a/api/js/etemplate/et2_core_widget.ts b/api/js/etemplate/et2_core_widget.ts index 4923801197..3a137c892c 100644 --- a/api/js/etemplate/et2_core_widget.ts +++ b/api/js/etemplate/et2_core_widget.ts @@ -103,8 +103,7 @@ export function et2_createWidget(_name : string, _attrs : object, _parent? : any } // Do an sanity check for the attributes - constructor.prototype.generateAttributeSet(_attrs); - + ClassWithAttributes.generateAttributeSet(et2_attribute_registry[constructor.name], _attrs); // Create the new widget and return it return new constructor(_parent, _attrs); }