mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
Fix bug in last select option fallback option, was getting value instead of options
This commit is contained in:
parent
4d64856fcd
commit
c99f0ee32d
@ -826,8 +826,8 @@ jQuery.extend(et2_selectbox,
|
|||||||
{
|
{
|
||||||
// If that didn't work, check according to ID
|
// If that didn't work, check according to ID
|
||||||
if (!content_options) content_options = content_mgr.getEntry("options-" + widget.id);
|
if (!content_options) content_options = content_mgr.getEntry("options-" + widget.id);
|
||||||
// Again, try last name part at top level - this is usually just the value
|
// Again, try last name part at top level
|
||||||
if (!content_options) content_options = content_mgr.getRoot().getEntry(name_parts[name_parts.length-1]);
|
if (!content_options) content_options = content_mgr.getRoot().getEntry("options-"+name_parts[name_parts.length-1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user