mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
Fix camelCased attributes didn't work for more than 1 underscore
Also fixes vfsSelect destroyed session
This commit is contained in:
@ -1375,7 +1375,7 @@ function transformAttributes(widget, mgr : et2_arrayMgr, attributes)
|
||||
{
|
||||
let parts = attribute.split('_');
|
||||
if (attribute === 'parent_node') parts[1] = 'Id';
|
||||
attribute = parts.shift()+parts.map(part => part[0].toUpperCase()+part.substring(1));
|
||||
attribute = parts.shift() + parts.map(part => part[0].toUpperCase() + part.substring(1)).join("");
|
||||
}
|
||||
|
||||
const property = widget_class.getPropertyOptions(attribute);
|
||||
|
Reference in New Issue
Block a user