mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 12:30:02 +02:00
- Fix attribute inheritance didn't work properly
- Get nextmatch filterheader working
This commit is contained in:
@@ -166,11 +166,11 @@ export class ClassWithAttributes
|
||||
class_prototype = Object.getPrototypeOf(class_prototype);
|
||||
} while (class_prototype !== ClassWithAttributes && n < 50);
|
||||
|
||||
for(let i = class_tree.length - 1; i > 0; i--)
|
||||
for(let i = class_tree.length - 1; i >= 0; i--)
|
||||
{
|
||||
class_tree[i-1]._attributes = ClassWithAttributes.extendAttributes(class_tree[i-1]._attributes,class_tree[i]._attributes);
|
||||
attributes = ClassWithAttributes.extendAttributes(attributes,class_tree[i]._attributes);
|
||||
}
|
||||
return class_tree[0]._attributes;
|
||||
return attributes;
|
||||
}
|
||||
/**
|
||||
* Extend current _attributes with the one from the parent class
|
||||
|
Reference in New Issue
Block a user