mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 10:28:31 +02:00
Hopefully last attribute inheritance bug fix, solves a lot of the console warnings.
Just swapping the function parameter order, since we called the function from every constructor.
This commit is contained in:
@ -168,7 +168,7 @@ export class ClassWithAttributes
|
||||
|
||||
for(let i = class_tree.length - 1; i >= 0; i--)
|
||||
{
|
||||
attributes = ClassWithAttributes.extendAttributes(class_tree[i]._attributes,attributes);
|
||||
attributes = ClassWithAttributes.extendAttributes(attributes, class_tree[i]._attributes);
|
||||
}
|
||||
return attributes;
|
||||
}
|
||||
@ -180,7 +180,7 @@ export class ClassWithAttributes
|
||||
* @param _attributes
|
||||
* @param _parent
|
||||
*/
|
||||
static extendAttributes(_attributes : object, _parent : object) : object
|
||||
static extendAttributes(_parent : object, _attributes : object) : object
|
||||
{
|
||||
function _copyMerge(_new, _old)
|
||||
{
|
||||
|
Reference in New Issue
Block a user