mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix error method generateAttributeSet does not exist
This commit is contained in:
parent
1df5124246
commit
fd31946f4e
@ -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);
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user