From 2377ec20906d9408be7c84defb8299811d3bbd3c Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 21 Jan 2020 07:43:04 -0700 Subject: [PATCH] Pass individual parameters --- api/js/etemplate/et2_widget_box.js | 2 +- api/js/etemplate/et2_widget_box.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/et2_widget_box.js b/api/js/etemplate/et2_widget_box.js index 99ebf4e84b..f065b634d2 100644 --- a/api/js/etemplate/et2_widget_box.js +++ b/api/js/etemplate/et2_widget_box.js @@ -48,7 +48,7 @@ var et2_box = /** @class */ (function (_super) { * @memberOf et2_box */ function et2_box(_parent, _attrs, _child) { - var _this = _super.call(this, arguments) || this; + var _this = _super.call(this, _parent, _attrs, _child) || this; _this.createNamespace = true; _this.div = jQuery(document.createElement("div")) .addClass("et2_" + _this.getType()) diff --git a/api/js/etemplate/et2_widget_box.ts b/api/js/etemplate/et2_widget_box.ts index 6076c24284..7fdc9bd70c 100644 --- a/api/js/etemplate/et2_widget_box.ts +++ b/api/js/etemplate/et2_widget_box.ts @@ -47,7 +47,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM */ constructor(_parent, _attrs? : WidgetConfig, _child? : object) { - super(arguments); + super(_parent, _attrs, _child); this.div = jQuery(document.createElement("div")) .addClass("et2_" + this.getType())