Et2Widget: Fix Number attributes were not properly parsed in transformAttributes()

This commit is contained in:
nathan 2024-01-24 16:46:07 -07:00
parent 94b1e3f80d
commit 37b734f63c

View File

@ -1632,7 +1632,7 @@ function transformAttributes(widget, mgr : et2_arrayMgr, attributes)
attrValue = widget.egw().lang(attrValue);
}
}
else if(attrValue && [Object, Array].indexOf(typeof property === "object" ? property.type : property) != -1)
else if(attrValue && [Object, Array, Number].indexOf(typeof property === "object" ? property.type : property) != -1)
{
// Value was not supposed to be a string, but was run through here for expandName
try