mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Use correct widget for attributes
This commit is contained in:
parent
a845237b79
commit
202faf54ec
@ -276,7 +276,7 @@ var et2_container = /** @class */ (function (_super) {
|
||||
function et2_container(_parent, _attrs, _child) {
|
||||
var _this =
|
||||
// Call the inherited constructor
|
||||
_super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_core_DOMWidget_1.et2_DOMWidget._attributes, _child || {})) || this;
|
||||
_super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_container._attributes, _child || {})) || this;
|
||||
_this.setDOMNode(document.createElement("div"));
|
||||
return _this;
|
||||
}
|
||||
@ -314,7 +314,7 @@ var et2_placeholder = /** @class */ (function (_super) {
|
||||
function et2_placeholder(_parent, _attrs, _child) {
|
||||
var _this =
|
||||
// Call the inherited constructor
|
||||
_super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_core_DOMWidget_1.et2_DOMWidget._attributes, _child || {})) || this;
|
||||
_super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_placeholder._attributes, _child || {})) || this;
|
||||
_this.visible = false;
|
||||
_this.attrNodes = {};
|
||||
// Create the placeholder div
|
||||
|
File diff suppressed because one or more lines are too long
@ -336,7 +336,7 @@ class et2_container extends et2_baseWidget
|
||||
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
|
||||
{
|
||||
// Call the inherited constructor
|
||||
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_DOMWidget._attributes, _child || {}));
|
||||
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_container._attributes, _child || {}));
|
||||
|
||||
this.setDOMNode(document.createElement("div"));
|
||||
}
|
||||
@ -388,7 +388,7 @@ class et2_placeholder extends et2_baseWidget implements et2_IDetachedDOM
|
||||
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
|
||||
{
|
||||
// Call the inherited constructor
|
||||
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_DOMWidget._attributes, _child || {}));
|
||||
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_placeholder._attributes, _child || {}));
|
||||
|
||||
this.attrNodes = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user