forked from extern/egroupware
Pass individual parameters
This commit is contained in:
parent
7576742cbc
commit
2377ec2090
@ -48,7 +48,7 @@ var et2_box = /** @class */ (function (_super) {
|
|||||||
* @memberOf et2_box
|
* @memberOf et2_box
|
||||||
*/
|
*/
|
||||||
function et2_box(_parent, _attrs, _child) {
|
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.createNamespace = true;
|
||||||
_this.div = jQuery(document.createElement("div"))
|
_this.div = jQuery(document.createElement("div"))
|
||||||
.addClass("et2_" + _this.getType())
|
.addClass("et2_" + _this.getType())
|
||||||
|
@ -47,7 +47,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
|
|||||||
*/
|
*/
|
||||||
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
|
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
|
||||||
{
|
{
|
||||||
super(arguments);
|
super(_parent, _attrs, _child);
|
||||||
|
|
||||||
this.div = jQuery(document.createElement("div"))
|
this.div = jQuery(document.createElement("div"))
|
||||||
.addClass("et2_" + this.getType())
|
.addClass("et2_" + this.getType())
|
||||||
|
Loading…
Reference in New Issue
Block a user